Topic: MDBSelect ignore placeholder props when single selection is active

dartseng premium asked 1 year 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 1 year ago


Hi!

That's a default behavior of our Select. To prevent it you can just add a preventFirstSelection property :)



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