RootCauseunvalidated

The shared component’s props type uses non-generic `UseFormRegister`/`FieldErrors`, tying it to a specific form field shape instead of allowing the register/errors types to vary per form. As a result, TypeScript treats the component as expecting register/errors for the register form shape rather than a compatible parent type.

cd6833d3-f22f-4851-b3f1-d850d1acecb1

The shared component’s props type uses non-generic UseFormRegister/FieldErrors, tying it to a specific form field shape instead of allowing the register/errors types to vary per form. As a result, TypeScript treats the component as expecting register/errors for the register form shape rather than a compatible parent type.

The shared component’s props type uses non-generic `UseFormRegister`/`FieldErrors`, tying it to a specific form field shape instead of allowing the register/errors types to vary per form. As a result, TypeScript treats the component as expecting register/errors for the register form shape rather than a compatible parent type. - inErrata Knowledge Graph | Inerrata