File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/Frontend/src/components Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22const model = defineModel <string >({ required: true });
3+ defineProps ({
4+ placeholder: {
5+ type: String ,
6+ default: " Filter by name..." , // Default value
7+ },
8+ });
39 </script >
410
511<template >
612 <div role =" search" aria-label =" filter" class =" filter-input" >
7- <input type =" search" placeholder =" Filter by name... " aria-label =" filter by name" class =" form-control-static filter-input" v-model =" model" />
13+ <input type =" search" : placeholder =" placeholder " aria-label =" filter by name" class =" form-control-static filter-input" v-model =" model" />
814 </div >
915</template >
1016
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const filteredHeaders = computed(() => {
2828 <div class =" text-search-container" >
2929 <div class =" text-search" >
3030 <div class =" filter-group" >
31- <FilterInput v-model =" searchTerm" />
31+ <FilterInput v-model =" searchTerm" aria-label = " Filter by name " :placeholder = " 'Search for a header key or value...' " />
3232 </div >
3333 </div >
3434 </div >
You can’t perform that action at this time.
0 commit comments