Select default Props selected are not overwritable


Topic: Select default Props "selected" are not overwritable

roots48 asked 3 years ago

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 3 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 3 years ago

Hi. The bug will be fixed in the new relase.


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 3 years ago

@Adrian Paredes In this Monday.

Sincerely, Konrad.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • 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