Dropdown open property does nothing


Topic: Dropdown open property does nothing

EthanPB pro premium priority asked a day ago

Expected behavior When the open property is specified on a dropdown, it should toggle whether the dropdown is open or not.

Actual behavior Property has not effect on behaviour. Type hints suggest that an onOpen property exists, but this also does nothing and logs an error in console as it can't find the property.

Resources (screenshots, code snippets etc.) Error for isOpen:

React does not recognize the isOpen prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isopen instead. If you accidentally passed it from a parent component, remove it from the DOM element.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 9.0.0
  • Device: MacBook Pro
  • Browser: Safari
  • OS: macOS
  • Provided sample code: No
  • Provided link: No