Topic: Material Select conflict
Athanasios Alexandris free asked 3 years ago
I would like to autoselect predefined value, or old value that came from eg a validation page on registration.
I 've put searchable and data-placeholder. the option (in select options), is marked as selected but mdb don't display in input. However it seems to conflict as it adds this line
<option value="" selected="" disabled="" data-mdb-placeholder=""></option> and i think it recognizes this as selected. But this is not the expected.Do i miss some option?
Resources (screenshots, code snippets etc.)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: PC and mobile
- Browser: any
- OS: any
- Provided sample code: Yes
- Provided link: No
Grzegorz Bujański staff commented 3 years ago
How can i reproduce this issue? Can you create snippet here: https://mdbootstrap.com/snippets/ i will look at this.