set multiselect first option select all text


Topic: set multiselect first option "select all" text

wuohyeah pro premium priority asked 6 months ago

Can I manually set multiselect first option text "select all" ?

Expected behavior use api parameter to set default text for first option in multiselect component

Actual behavior it can only show "select all".

Resources (screenshots, code snippets etc.)


Bartosz Cylwik staff answered 6 months ago

Hi, you can use the selectAllLabel prop to change the text for the selectAll option.

<MDBSelect
  selectAllLabel="Select all of the options"
  multiple
  ...
/>

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: Pro
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No