Add a no-options placeholder for projects selector [SCI-8544] (#5492)

Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
Soufiane 2023-05-26 11:47:35 +02:00 committed by GitHub
parent cb14333fca
commit e5dc1f365b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -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'

View file

@ -62,7 +62,7 @@
setTimeout(() => {
this.isOpen = false;
this.$emit('blur');
}, 200)
}, 200);
},
toggle() {
this.isOpen = !this.isOpen;

View file

@ -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"