This commit is contained in:
vadim committed 2026-09-25 15:19:27 +03:00
1 parent 30e507f5cd
commit 4a124a2bb7
10 files changed
+280 -31

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<script setup lang="ts">
import { ref } from 'vue'
const text = ref<string | null>(null)
function onSearch() {
console.log('onSearch', text.value)
}
function onClear() {
text.value = ''
console.log('onClear', text.value)
}
</script>
<template>
<v-text-field
v-model="text"
clearable
prepend-inner-icon="mdi-text"
placeholder="Search..."
@keydown.enter.prevent="onSearch"
@click:clear="onClear"
/>
</template>
<style scoped lang="scss"></style>