Any way to configure default validators for fieldComponents defined in createFormHook?
I have some composite fields that should have the same basic validation no matter what form they're added to. This is just a simple check to make sure each sub-field is populated. Writing and sharing the validation with a util is relatively easy, but it would be cool if I could set the validators once instead of on each form definition. Is this possible?

1 Reply
genetic-orangeOP•6mo ago
Realized my post was missing some context - I mean the ability to set validators when defining
fieldComponents
as part of createFormHook
. This group of four fields is a single entry in fieldComponents
.