Topic: Input with labels in dynamic load
meesha81 priority asked 1 year ago
If I get content partialy loaded after main page initialized, I am not able to animate Label for input.
<div class="form-outline">
<input type="text" id="dfiDocumentName" class="form-control form-control-lg">
<label class="form-label" for="dfiDocumentName">Název</label>
</div>
Form can be included in the modal or some other container, but put via jquery after page initialized. Is any way how to init input to be working with "moving" label from placeholder to top left corder of input outline?
meesha81 priority answered 1 year ago
bad question, it is in documentation, I have missed it...
Dynamic input initialization...
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.1.0
- Device: PC
- Browser: CHROME
- OS: WIN11
- Provided sample code: No
- Provided link: No