Topic: Input fields overlapped with autocomplete
Expected behavior I want to fill in an input field automatically with the help of JavaScruipt. However, the label overlaps. I have already looked in the form and as I understand it the bug should already be fixed. What am I doing wrong?
Actual behavior When I fill in the input field using JavaScript, the label and text are overlapped.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/extox/6052138
Kamila Pieńkowska staff answered 7 months ago
This is not a bug.
If you add value with JS after component initiation you need to update label.
Here is code example how to do it: https://mdbootstrap.com/docs/standard/forms/input-fields/#section-update
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.2.0
- Device: Leptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes