Topic: mdb-select: Change legend 'Select All' to 'Seleccionar Todo'
gkennedy free asked 5 years ago
Hi there,
Is there a way to change legend 'Select All' to 'Seleccionar Todo' in the mdb-select?
Here is the code that I'm using:
<div>
<select class="mdb-select md-form colorful-select dropdown-primary mt-0" multiple searchable="Búsqueda aquí..." id="evidenciasReactivoID[]">
<option value="" disabled selected>Seleccione aquí...</option>
#for(evidencia in evidencias) {
<option value="#(evidencia.id)">#(evidencia.descripcion)</option> }
</select>
</div>
Kneidels pro answered 5 years ago
Need this too (to other languages) hope they can do this soon (internationalization, in general)
Bartłomiej Malanowski staff commented 5 years ago
We're planning to add the internationalization option to our Material Select
Piotr Glejzer staff answered 5 years ago
Yes, It is possible to change 'select all'. You have to find in your material-select.js file line with variable (probably line 29) :
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.15
- Device: MacBook Pro
- Browser: Google Chrome Version 70.0.3538.
- OS: macOS Mojave 10.14.1
- Provided sample code: No
- Provided link: No
gkennedy free commented 5 years ago
thank you, I'll wait for you to implement it
Piotr Glejzer staff commented 5 years ago
Did you resolve your problem with this? We can't implement your language for our products because we are using only english language (we don't have plans for internationalization, for now).
gkennedy free commented 5 years ago
Thank you Piotr,
I can live with this, the question is if your company can live this way in this world of technology. I bought your product to make my work easier I don’t have time to hack it...
Piotr Glejzer staff commented 5 years ago
Yes, I understand this. I can't give you ETA for that. Sorry about that. You can use gulp for easily resolve that problem.
Here is a tutorial:
https://mdbootstrap.com/education/bootstrap/gulp-installation/
Best regards,
Piotr
gkennedy free commented 5 years ago
Thank you, I’ll give it a try.
Best regards