You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used jquery validation plugin for dropdown required. whenever i will use dropkick for dropdown then original dropdown html rendered with "display:none". because of jquery validation rules is that if element is hidden then validation will not work.
how can i solve this issue. please updated code as soon as possible.
Thanks,
Hardik
The text was updated successfully, but these errors were encountered:
Hi! I have used dropkick, along with jQuery validation too! For validation to work we need to keep the original still element still ":visible" by not applying "display: none" to it.
Around lines 150-170 we have the following code:
setTimeout(function () {
$select.hide();
}, 0);
I believe we should remove these lines plugin, since the select is hidden with css.
In CSS we have:
.dk_fouc select {
position: relative;
top: -99999em;
visibility: hidden;
}
What about?
PS: I always remove these lines of javascript manually.
Hi
I have used jquery validation plugin for dropdown required. whenever i will use dropkick for dropdown then original dropdown html rendered with "display:none". because of jquery validation rules is that if element is hidden then validation will not work.
how can i solve this issue. please updated code as soon as possible.
Thanks,
Hardik
The text was updated successfully, but these errors were encountered: