mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 09:36:55 +03:00
fix: continuous on change trigger for date inputs (#1325)
$element.val() !== $element.attr("value") are never be the same on inputs with type date. Value will be just empty.
This commit is contained in:
parent
cf06aa783e
commit
687cb32e15
|
@ -61,7 +61,7 @@ const Autofill = ($ => {
|
|||
let $inputs = $(event.currentTarget)
|
||||
.closest("form")
|
||||
.find("input")
|
||||
.not("[type=file]");
|
||||
.not("[type=file], [type=date]");
|
||||
focused = setInterval(() => {
|
||||
$inputs.each((index, element) => {
|
||||
let $element = $(element);
|
||||
|
|
Loading…
Reference in New Issue
Block a user