Topic: Form elements in MDBDropdown?
Lukasz S free asked 1 year ago
Embedding an input field into a MDBDropdown should allow me to type and handle the change of text. The documentation for MDB 5 React doesn't have an example for that, but it's in the Standard documentation, so I wanted to check if it's just not documented or if it's not supported at all.
I'm unable to change the value of an MDBInput when it's embedded into an MDBDropdown.
Resources (screenshots, code snippets etc.)
I've created a snippet: https://mdbootstrap.com/snippets/react/susell/3232861
Can you please let me know if I'm doing anything wrong, if there's a way to solve this using a "hack", or is this a feature that's missing and I'll have to wait until it's added to MDB React 5? If so, do you have it in your roadmap?
I might use a button with a modal instead if it's not available just yet, but please confirm.
Input in the Dropdown should work exactly as you did in the snippet, so that's a bug. We'll try to fix it in one of the nearest releases :)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 1.0.0-beta6
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes