It would be nice to be able to give the DatePicker widget a list of valid dates, such that within the minimum and maximum date range only the dates in the list are able to be selected. Ideally this would also grey out the invalid dates just like dates outside the range given are marked now (example below).

I'd imagine this involves the JavaScript/TypeScript side of things which I have no experience in, but if someone in the know thinks this is would be a smaller job and could point me in the right direction I'd be happy to take a crack at it.
It would be nice to be able to give the DatePicker widget a list of valid dates, such that within the minimum and maximum date range only the dates in the list are able to be selected. Ideally this would also grey out the invalid dates just like dates outside the range given are marked now (example below).
I'd imagine this involves the JavaScript/TypeScript side of things which I have no experience in, but if someone in the know thinks this is would be a smaller job and could point me in the right direction I'd be happy to take a crack at it.