Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Select default Props "selected" are not overwritable

roots48 free asked 5 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/


Konrad Stępień staff answered 5 years ago


@Adrian Paredes In this Monday.

Sincerely, Konrad.


Adrian Paredes free answered 5 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 5 years ago


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


johndoe pro answered 5 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.



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

  • ForumUser: 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