Lack of Type Safety with Pre-bound Field Components?
This documentation suggests that pre-bound field components "infer" that such a field should assume that the value in the form state has the same type as the type argument to
useFieldContext. However, this means that whenever I'm actually using the pre-bound field, there are no guardrails preventing me from using a pre-bound field with a form value of a different type.Demonstrating in code, it seems like a big danger that I can do this:
Is this something I can actually assert? Or if not are there plans to get around it?
