Topic: Model-Form sending per Ajax, reinitialize input Fields?

Werner Buchert free asked 6 years ago


Hi, we have a modal-Form (using md-form with label above the input field), which onsubmit is sent per Ajax-Request. In case of an error, we got back the modal form with all input's of the customer. Unfortunately all label's with input from the customer are positioned on the input. Because the label has no class "active". (mdb.js is setting active only on change of the input field). How can I resolve this problem. Best regards, Werner.

Werner Buchert free answered 6 years ago


Hi, okay, I have to call Materialize.updateTextFields(); Best regards, Werner.

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags