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: Input fields overlapped with autocomplete

ExTox priority asked 8 months ago


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



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