Topic: set multiselect first option "select all" text
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
...
/>
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 Vue
- MDB Version: MDB5 5.0.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No