Topic: input labels overlap input value on page load
rentrent
pro
asked 6 years ago
Daniel Andreoli
free
answered 3 years ago
Is there a fix for this already?
Marcin Luczak staff commented 3 years ago
Hi,
This is an issue with some browsers try to autofill your commonly used inputs on page load without triggering any event . If you are aware that some of your inputs are broken due to the autocomplete of the browser you could try to manually trigger('change')
on them after the page loads od add active
class, which should change the label position if the input value is not empty.
Keep coding,
Marcin
nevda
pro
answered 6 years ago
Bartłomiej Malanowski staff commented 6 years ago
We still don't have a fix for that - issue is still in our TODO list
Bartłomiej Malanowski
staff
answered 6 years ago
BMarkus
pro
answered 6 years ago
<input type="text" class="form-control validate" value=" ">This isn't the best practise, but it works ;) Kind regards, Markus
rentrent pro commented 6 years ago
:), thanks, but this solution might cause errors in validationFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No