20 lines
459 B
Vue
20 lines
459 B
Vue
<script setup>
|
|
import { useForm } from "@inertiajs/vue3";
|
|
import TextInput from "../TextInput.vue";
|
|
|
|
const form = useForm({
|
|
search: "",
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<form class="w-full h-[5rem] flex items-center">
|
|
<TextInput
|
|
type="text"
|
|
class="block w-full mr-2"
|
|
v-model="form.search"
|
|
autocomplete
|
|
placeholder="Search for files or folders"
|
|
></TextInput>
|
|
</form>
|
|
</template>
|