React Datepicker input state not changing?
问题 I have a multi-step form with child form components. On one of the components, I'm trying to implement YouCanBookMe DatePicker. Now, when I try to update the state of datepicker's value like I do with other regular text inputs, the state does not get updated. If I typed the date, the state gets updated, but not when I actually select the date from the picker. I'm really clueless why. Can any of you point out why it doesn't? Your help is greatly appreciated. I'm new to React and I've tried 3