Allow user to delete the date (even with "blockKeydown: true") #81

basher opened this Issue Sep 30, 2011 · 0 comments


None yet

1 participant

basher commented Sep 30, 2011

Hi Arian,


I have added a function to allow DELETE & BACKSPACE keys to empty the date fields:

el.addEvent('keydown', function(event) {
if (event.key == 'delete' || event.key == 'backspace') el.set('value', '');
else event.stop();

Can this functionality be incorporated into base class?

Many thanks,
Kev (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment