Hi,
I'm using datepicker in my component and I have given minDate as today in properties which works fine by disabling the previous days. How to disable the textfield so that author won't be enter the date but only pick the date from datepicker.
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You may have to write a custom logic to disable keyborad input to input text field
https://stackoverflow.com/questions/29715655/html-5-input-type-date-disable-keyboard-input
Hi,
You may have to write a custom logic to disable keyborad input to input text field
https://stackoverflow.com/questions/29715655/html-5-input-type-date-disable-keyboard-input
Views
Replies
Total Likes
If you are using the Coral datepicker then you can use readonly flag.
https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/Coral.Datep...
var datepicker = new Coral.Datepicker().set({
placeholder: "Choose a date",
name: "field",
value: "2015-01-15",
valueFormat: "YYYY-MM-DD",
displayFormat: "YYYY-MM-DD",
startDay: "0",
readOnly: true
});
I am using a bootstrap please redo it
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies