mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-16 21:59:00 +08:00
Add a no-options placeholder for projects selector [SCI-8544] (#5492)
Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
parent
cb14333fca
commit
e5dc1f365b
3 changed files with 7 additions and 1 deletions
|
|
@ -48,6 +48,11 @@
|
|||
'repositories.modal_assign_items_to_task.body.project_select.placeholder'
|
||||
)
|
||||
"
|
||||
:no-options-placeholder="
|
||||
i18n.t(
|
||||
'repositories.modal_assign_items_to_task.body.project_select.no_options_placeholder'
|
||||
)
|
||||
"
|
||||
:searchPlaceholder="
|
||||
i18n.t(
|
||||
'repositories.modal_assign_items_to_task.body.project_select.placeholder'
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
setTimeout(() => {
|
||||
this.isOpen = false;
|
||||
this.$emit('blur');
|
||||
}, 200)
|
||||
}, 200);
|
||||
},
|
||||
toggle() {
|
||||
this.isOpen = !this.isOpen;
|
||||
|
|
|
|||
|
|
@ -1998,6 +1998,7 @@ en:
|
|||
project_select:
|
||||
label: "Project"
|
||||
placeholder: "Enter project name"
|
||||
no_options_placeholder: "No projects available to select"
|
||||
experiment_select:
|
||||
label: "Experiment"
|
||||
placeholder: "Enter Experiment name"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue