Fix is with showing the selected value

This commit is contained in:
Dev By Ray 2024-03-21 10:43:25 +01:00 committed by GitHub
parent 6528c0d243
commit d4cab92052
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ const value = ref(null)
:aria-expanded="open"
class="w-[200px] justify-between"
>
{{ value ? frameworks.find((framework) => framework.value === value)?.label : 'Select framework...' }}
{{ value ? frameworks.find((framework) => framework.value === value?.value)?.label : 'Select framework...' }}
<ChevronsUpDown class="ml-2 h-4 w-4 shrink-0 opacity-50" />
</Button>