Topic: MDBSelect ignore placeholder props when single selection is active
dartseng premium asked 2 years ago
I have specified a placeholder for an MDBSelect configured in single selection mode.
Expected behavior The MDBSelect show the placeholder until my selection
Actual behavior The MDBSelect immediately show the first item of the data list.
Resources (screenshots, code snippets etc.) this snippet was created with the example code in your documentation:
Krzysztof Wilk staff answered 2 years ago
Hi!
That's a default behavior of our Select. To prevent it you can just add a preventFirstSelection
property :)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.0.0
- Device: ACER PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes