You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The event callbacks from the FieldInputProps of React Final Form library are supposed to work with event targets of HTMLElement subtypes. By default all the date components expect event callbacks with targets of Element subtypes, which is more general. Therefore, we can't use the input callbacks out of box like this:
The event callbacks from the FieldInputProps of React Final Form library are supposed to work with event targets of HTMLElement subtypes. By default all the date components expect event callbacks with targets of Element subtypes, which is more general. Therefore, we can't use the input callbacks out of box like this:
We have to wrap the callbacks instead:
It seems unnecessary, since the date components are supposed to work using HTML elements, I believe.
The text was updated successfully, but these errors were encountered: