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: How to initialize <input>

KES free asked 3 years ago


*Expected behavior*Hi. I use new mdb.Select(Element) to initialize element created on fly. How I can initialize 'input'?

Actual behavior

Resources (screenshots, code snippets etc.)


KES free answered 3 years ago


var Elements = document.getElementsByClassName('form-outline') Elements.forEach(function(el) { new mdb.Input(el); });



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.0
  • Device: computer
  • Browser: firefox
  • OS: linux
  • Provided sample code: No
  • Provided link: No