mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 01:46:03 +02:00
Add a placeholder to the SearchBox component
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
placeholder: String,
|
||||
})
|
||||
const searchInput = ref(null)
|
||||
|
||||
@@ -37,6 +38,7 @@
|
||||
tabindex="1"
|
||||
:aria-label="$t('commons.search')"
|
||||
:title="$t('commons.search')"
|
||||
:placeholder="placeholder"
|
||||
class="input is-rounded is-search"
|
||||
:class="{ 'has-no-background': hasNoBackground }"
|
||||
:value="keyword"
|
||||
|
Reference in New Issue
Block a user