Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: set multiselect first option "select all" text

wuohyeah priority asked 7 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 7 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

  • ForumUser: Priority
  • 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