mootools-datepicker icon indicating copy to clipboard operation
mootools-datepicker copied to clipboard

Inline Mootools validation conflict with (required) datepicker INPUT

Open basher opened this issue 13 years ago • 0 comments

Hi Arian,

You may remember a few weeks back you implemented a change (requested by me at Abacus) whereby it was possible to trigger multiple calendar popups on the same page via INPUT focus and by clicking on calendar icon.

See https://github.com/arian/mootools-datepicker/commit/e7f494b

We now have an issue with inline Mootools validation for required fields - see this test case http://thelawyercpdselfservicedesign.abasoft.co.uk/_datepicker+validation.html

Essentially, if you focus on a datepicker INPUT field, and select a date from the popup, the inline validation error event fires.

Is this because the field has lost focus during the selection of the date from the popup? I'm not sure this is a bug, per se, but I thought I'd post this here in case you can offer some assistance.

Many thanks, Kev ([email protected])

basher avatar Sep 22 '11 14:09 basher