Muhiq Kapadia

Results 7 comments of Muhiq Kapadia

.react-datepicker__day--keyboard-selected { background-color: inherit !important; color: #000 !important; } This CSS works but it also removes the highlight from every month.

If you use this prop, than I think your issue will be solved. `dropdownMode="select"` It will reference the selected or current year.

@wenxiangtoh Hi, yes it creates this issue and looks bad in UI because it is not taking prop `yearDropdownItemNumber` into consideration. But it will solve your referencing issue and as...

@kit52 Thanks for sharing, I can run it properly. If you have any issue, tell me.

Hi, I got a solution which is working properly, sharing with you. 

Firstly make an array of the slots which you want to be disabled like this ``` 

let slots...

In the previous solution, the highlight doesn't work on today's date. A new solution to fix this issue also. ``` .react-datepicker__day--keyboard-selected { background-color: inherit !important; color: #000 !important; } .react-datepicker__day--keyboard-selected.react-datepicker__day--today...