mdb-select: Change legend 'Select All' to 'Seleccionar Todo'


Topic: mdb-select: Change legend 'Select All' to 'Seleccionar Todo'

gkennedy asked 6 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>


gkennedy commented 6 years ago

thank you, I'll wait for you to implement it


Piotr Glejzer staff commented 6 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 commented 6 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 6 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 commented 6 years ago

Thank you, I’ll give it a try.

Best regards


pro answered 6 years ago

Need this too (to other languages) hope they can do this soon (internationalization, in general)


Bartłomiej Malanowski staff pro premium commented 6 years ago

We're planning to add the internationalization option to our Material Select


Piotr Glejzer staff answered 6 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) :

this.$toggleAll 
 
and change 'Select all' for what you want. You have to use gulp to compile modified material-select.js to mdb.min.js to working properly.
 
 
 
 

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: 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
Tags