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.)
Add comment
KES free answered 3 years ago
var Elements = document.getElementsByClassName('form-outline') Elements.forEach(function(el) { new mdb.Input(el); });
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