Topic: Select default Props "selected" are not overwritable
Expected behavior I'm trying to change the default text for MDBSelecet by the prop "seleted" which is expecting a sting. Actual behavior But my actual code will be overwritten by the default Props for select and selectInput. Resources (screenshots, code snippets etc.) API Reference: https://mdbootstrap.com/docs/react/forms/select/
johndoe pro answered 6 years ago
I think they may have introduced a new bug in 4.15.0.
After upgrading from 4.14.0 to 4.15.0 all my display text no longer changes from what is defined initially in prop "selected" but the selected value still gets passed.
Kord staff answered 6 years ago
Adrian Paredes answered 6 years ago
Hi. I have the same issue that @johndoe:
After upgrading from 4.14.0 to 4.15.0 all my display text no longer changes from what is defined initially in prop "selected".
When are you planning to publish the new release with this bug fixed? Thanks!!
Konrad Stępień staff answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.11.0
- Device: Macbook Pro
- Browser: Chrome
- OS: OS X & Windows
- Provided sample code: No
- Provided link: Yes