diff --git a/frontend/components/Form/Autocomplete2.vue b/frontend/components/Form/Autocomplete2.vue index b71c30e..9b20758 100644 --- a/frontend/components/Form/Autocomplete2.vue +++ b/frontend/components/Form/Autocomplete2.vue @@ -10,6 +10,14 @@ class="w-full input input-bordered" @change="search = $event.target.value" /> + @@ -86,6 +94,10 @@ multiple: false, }); + function clear() { + emit("update:modelValue", null); + } + const search = ref(""); const value = useVModel(props, "modelValue", emit);