File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 22import * as combobox from " @zag-js/combobox"
33import { comboboxControls , comboboxData } from " @zag-js/shared"
44import { normalizeProps , useMachine } from " @zag-js/vue"
5+ import { XIcon } from " lucide-vue-next"
56import { matchSorter } from " match-sorter"
67
78const controls = useControls (comboboxControls )
@@ -37,7 +38,9 @@ const api = computed(() => combobox.connect(service, normalizeProps))
3738 <div >
3839 <button @click =" () => api.setValue(['TG'])" >Set to Togo</button >
3940 <button data-testid =" clear-value-button" @click =" () => api.clearValue()" >Clear Value</button >
40- <button v-bind =" api.getClearTriggerProps()" >Clear Trigger</button >
41+ <button v-bind =" api.getClearTriggerProps()" >
42+ <XIcon />
43+ </button >
4144 <br />
4245
4346 <div v-bind =" api.getRootProps()" >
You can’t perform that action at this time.
0 commit comments