Hi I'd like to make a form that has sections (so the overall data structure is smth like
type FormData = { key_1: DataForKey1; key_2: DataForKey2; key_3: DataForKey3;...};
type FormData = { key_1: DataForKey1; key_2: DataForKey2; key_3: DataForKey3;...};
And each section can be enabled / disabled. In the case it is disabled - the form should not validate the fields for said section. What would be the best way to approach that?