formula-one
formula-one copied to clipboard
Field-specific FeedbackStrategy
I can imagine scenarios where it makes sense to configure feedback strategy on a Field-specific basis. I suppose the user can always decide not to render an error themselves, but might be nice to have this declarative.
For example, show errors as soon as field 1 is changed, but only show them on field 2 when it's blurred.
This should be relatively easy to add, since it's in context. Maybe we should introduce a component that changes the feedbackStrategy
for a React subtree? Though unclear how this would work in hooks API.