✨(react) add select menu empty placeholder
Previously if the menu was opened and no there were no options to be displayed it was just showing a tiny empty menu, this commit adds an empty placeholder in order to make it clearer that the list is empty.
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
"select": {
|
||||
"toggle_button_aria_label": "Toggle dropdown",
|
||||
"clear_button_aria_label": "Clear selection",
|
||||
"clear_all_button_aria_label": "Clear all selections"
|
||||
"clear_all_button_aria_label": "Clear all selections",
|
||||
"menu_empty_placeholder": "No options available"
|
||||
},
|
||||
"file_uploader": {
|
||||
"delete_file_name": "Delete file {name}",
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
"select": {
|
||||
"toggle_button_aria_label": "Ouvrir le menu",
|
||||
"clear_button_aria_label": "Effacer la sélection",
|
||||
"clear_all_button_aria_label": "Effacer toutes les sélections"
|
||||
"clear_all_button_aria_label": "Effacer toutes les sélections",
|
||||
"menu_empty_placeholder": "Aucun choix disponible"
|
||||
},
|
||||
"file_uploader": {
|
||||
"delete_file_name": "Supprimer le fichier {name}",
|
||||
|
||||
Reference in New Issue
Block a user