Is there a way to force the user to use the datepicker? ie - disallow typing in the input box?
This question has an accepted answers - jump to answer
There isn't a built in way, but you could do something like:
$( editor.field( 'myField' ).input() ).on( 'keydown', function ( e ) { e.preventDefault(); } );
Allan
Excellent! Thank you!
Just a quick one to say that this will be available as an option in 1.7.3. You'll be able to use keyInput: false for the field there.
keyInput: false
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
There isn't a built in way, but you could do something like:
Allan
Excellent! Thank you!
Just a quick one to say that this will be available as an option in 1.7.3. You'll be able to use
keyInput: false
for the field there.Allan