Select box preventdefault first click
kiredewit opened this issue · 1 comments
kiredewit commented
How to prevent defaults on a select box created with uniform?
Normally I do:
$(".update").click(function(e){
e.preventDefault();
console.log($("#is_vehicle_active").prop('checked'));
}
In combination with uniform, this is not working on the normal way. First click its ignoring preventdefault. After the first click it
s working again.
I don`t know the correct way to use preventdefault with uniform. Does someone know how to fix this?
kiredewit commented