Topic: Multiselect: selectAll config option not working
                  
                  Jacopo Gucciardi
                  priority
                  asked 1 year ago
                
Expected behavior According to Select API docs (https://mdbootstrap.com/docs/standard/forms/select/#docsTabsAPI), there's a boolean parameter to disable the "Select All" option. It should work both by standard initialization (data-mdb-select-init) and in js initialization
Actual behavior The "Select all" option is disabled only when using js initialization, but it remains there when adding data-mdb-selectAll="false" to the tag
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/gucciardi/6115646#html-tab-view
                      
                      Kamila Pieńkowska
                      staff
                        answered 1 year ago
                    
Options in atributes are suppose to be passed as kebeb case. So in your situation it will be:
data-mdb-select-all="false"
Jacopo Gucciardi priority commented 1 year ago
Thank you Kamila for your quick response. May I suggest that you add this rule to your documentation pages? I can't find any mention of this requirement.
Kamila Pieńkowska staff commented 1 year ago
We will try to implement this in our documentation.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
 - Premium support: Yes
 - Technology: MDB Standard
 - MDB Version: MDB5 7.2.0
 - Device: PC
 - Browser: Chrome
 - OS: Win11
 - Provided sample code: No
 - Provided link: Yes