Hi,
How can we restrict backspace and delete operations in IgDatePicker?
I do not want to set read-only option on datepicker control because we have a requirement where user can manually key in date within the date picker.
How do I keep the datepicker editable and restrict only the backspace and delete keys?
Thanks,
Kiran
Hi Boris - Thanks the solution provided work.
Hi Kiran,
A possible approach to achieve this would be handling the keydown event and cancel it (return false) if either the backspace or the delete key were pressed.
I made a sample and saved it at:
http://jsfiddle.net/aaLyg5bq/
Please take a look at it and let me know if it works for you.