mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Add a placeholder to the SearchBox component
This commit is contained in:
parent
444b110c05
commit
699a2a1f9e
@ -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"
|
||||
|
@ -129,7 +129,7 @@
|
||||
<!-- search -->
|
||||
<div class="columns">
|
||||
<div class="column pb-0">
|
||||
<SearchBox v-model:keyword="searched" :hasNoBackground="true" />
|
||||
<SearchBox v-model:keyword="searched" :hasNoBackground="true" :placeholder="$t('admin.search_user_placeholder')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons is-centered mb-0">
|
||||
|
@ -21,6 +21,7 @@
|
||||
'admin_settings' => 'Admin settings',
|
||||
'create_new_user' => 'Create a user',
|
||||
'new_user' => 'New user',
|
||||
'search_user_placeholder' => 'User name, email...',
|
||||
'user_created' => 'user successfully created',
|
||||
'confirm' => [
|
||||
'delete_user' => 'Are you sure you want to delete this user? There is no going back.',
|
||||
|
Loading…
Reference in New Issue
Block a user