Page 1 of 1

Disable list of dates in date picker

Posted: Mon Jan 27, 2020 2:23 pm
by mperez
How can I disable a list of dates in the date picker (date field) component? For example, I've loaded an array with 3 dates in the RPG Free pgm I'd like disabled in the date picker when it's opened. Need help with the javascript in the onclick() event.
var array1 = ["2020-02-01","2020-02-02","2020-02-03"];

Re: Disable list of dates in date picker

Posted: Mon Jan 27, 2020 4:34 pm
by Krista
Currently, there is no way to do this on a onclick or similar event. You could try using your rpg program to catch any invalid dates.

If you'd like to request a new feature, email support@profoundlogic.com