Disable list of dates in date picker

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
mperez
New User
Posts: 9
Joined: Tue Sep 10, 2019 10:24 am
First Name: Michael
Last Name: Perez
Company Name: Manhattan Life Insurance
Contact:

Disable list of dates in date picker

Post 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"];
User avatar
Krista
Profound Logic Staff Member
Posts: 1
Joined: Mon Jan 27, 2020 4:24 pm
First Name: Krista
Last Name: Pedersen
Company Name: ProfoundLogic
Contact:

Re: Disable list of dates in date picker

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests