How to set a datepicker input field to readonly so as to force the user to use the picker for input?
Posted: Wed Sep 04, 2013 7:32 am
I've tried adding a property to the datepicker component "readOnly" "true" but this did not work.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I've tried adding a property to the datepicker component "readOnly" "true" but this did not work.
Hi,
Create Page Show event with code like this:
pre$( Appery( "mobiledatepicker_NAME" ).datapickerRoot )
.find( 'input' ).attr( { readonly: "readonly" } );/pre
Thank you for the fast reply. Works for me. cheers