Change background color for datePicker

I want to change the color of background for datePicker when it is disabled so that a user knows it’s disabled. I can change the color manually from in .DateInput_input css, but I want to change dynamically based on the user’s input. Is there a way to change the color dynamically?

I solved it by simply adding opacity to the datePicker.

Thanks!

1 Like

can you share your solution?

Hi Can you share your solution, I have an exactly question. Thanks