Update combobox.md

Since the selected `value` is an Object the check is not visible when comparing it with `value`, it should be `value?.value`.
This commit is contained in:
Dev By Ray 2024-03-21 16:22:13 +01:00 committed by GitHub
parent 8a0efbd1c7
commit 22a8f6e441
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,7 @@ const value = ref('')
<Check
:class="cn(
'mr-2 h-4 w-4',
value === framework.value ? 'opacity-100' : 'opacity-0',
value?.value === framework.value ? 'opacity-100' : 'opacity-0',
)"
/>
{{ framework.label }}