Add search query model

This commit is contained in:
2026-05-10 17:11:35 +02:00
parent 679adb4cf9
commit 399d7caabc
2 changed files with 17 additions and 3 deletions
+11 -1
View File
@@ -14,9 +14,19 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<script setup>
const searchQuery = defineModel();
</script>
<template>
<div class="search-wrapper">
<input type="search" name="search" placeholder="Search..." required />
<input
v-model="searchQuery"
type="search"
name="search"
placeholder="Search..."
required
/>
<button type="submit" class="search-button">Search</button>
</div>
</template>