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:
parent
8a0efbd1c7
commit
22a8f6e441
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user