Closed bmurashin closed 11 years ago
The value returns by the datepicker plugin isn't yet filled its input, so the burl mode detects that the input is empty, right ?
You can break the BC, but add a warning message if the user have defined the 'both' mode, please.
Precise, that's "required" validator detects an empty field before it's filled. Ok to break BC, but what type for check_mode option to use - Array as I did or Scalar as it is now?
Ok to change check_mode type to array? Should it stay check_mode or rename to check_modes (plural)?
array + check_modes and output a warning if check_mode is defined.
Ok, I'll post new PR soon.
ok thx
I found a problem with 'blur' checks with jQueryUI datepicker widget field: field loses it's focus before widget updates it's value and validation error displayed, though value is correct. I've added a new 'change' check - it works nice with such widgets and behaves almost the same as 'blur'. I maintained BC, but had to introduce a new array option 'check_modes' spelled almost the same as former 'check_mode' - that can be confusing...