Skip to content

Commit

Permalink
Merge pull request #849 from hit-pay/feature/hit-10388-add-search-pla…
Browse files Browse the repository at this point in the history
…ceholder

feature/hit-10388-add-search-placeholde
  • Loading branch information
kewcoder authored Dec 6, 2024
2 parents 1c94794 + aafff0d commit 09f34de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/vue/src/Form/Select/OcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const props = defineProps({
type: String,
default: 'Placeholder'
},
searchPlaceholder: {
type: String,
default: 'Search'
},
isInlineLabel: Boolean,
isFilterable: Boolean,
isAsynchronousSearch: Boolean,
Expand Down Expand Up @@ -330,7 +334,7 @@ defineExpose({
<template v-if="isInlineSearch && isFilterable && !localValueOption">
<Input
v-model="query"
placeholder="Search"
:placeholder="searchPlaceholder"
input-class="!border-none !shadow-none"
:is-readonly="!isDropdownOpened"
@update:model-value="$emit('onSearchKeywords', query)"
Expand Down

0 comments on commit 09f34de

Please sign in to comment.