Topic: Translation or disabled message in Select Multiselect
allancmello
pro premium asked 6 days ago
How can I translate or disable the message displayed when all Select options in a multiselect are selected?
There's no reference to this in the documentation.
An improvement to the component would be to choose to display the selected text or the text in chips.
Arkadiusz Idzikowski
staff answered 2 days ago
You can replace the options selected
text in [optionsSelectedLabel]="'your translated text'"
input. We will update the documentation page.
allancmello pro premium commented 2 days ago
Thanks Arkadiusz, its works for me.
But, this directive "[optionsSelectedLabel]" not exist in doc the "select" component.
You should update the doc Angular.
Kamila Pieńkowska staff commented a day ago
You’re right, thanks for pointing this out! 🙌 [optionsSelectedLabel] is indeed available but currently missing from the select component docs. We’ll make sure to update the documentation so it’s clear.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 8.0.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No
Kamila Pieńkowska staff commented 5 days ago
You can change the content of
mdb-select-all-option
, add a disabled attribute to it or remove it from html template.allancmello pro premium commented 4 days ago
Hi Kamila,
This is not the "mdb-select-all-option" message, but the message that appears in the Input field after "selecting all" the options in the multiselect. Message after selected: 6 options selected
See the image in before post.