Adds error handling to all input components. They now register with the new ValidateForm component by adding their own error signals to a context-based FormValiationContext struct.
The form is able to use this context to display errors on all components that may have them. It does not short-circuit evaluated and will display errors on all components if they are not filled out.
This also adds the ValidatedForm component to all pages currently in use - input components no longer function without a FormValidationContext, and so they must be used within this new form.
Adds error handling to all input components. They now register with the new `ValidateForm` component by adding their own error signals to a context-based `FormValiationContext` struct.
The form is able to use this context to display errors on all components that may have them. It does not short-circuit evaluated and will display errors on all components if they are not filled out.
This also adds the `ValidatedForm` component to all pages currently in use - input components no longer function without a `FormValidationContext`, and so they *must* be used within this new form.
I had to add some extra type erasing to the form schema and some of the pages. Type checking during compile-time was breaking Docker deployments, but was not failing on my own machine - this was slightly misleading but has been solved, we just need to look out for that in the future.
I had to add some extra type erasing to the form schema and some of the pages. Type checking during compile-time was breaking Docker deployments, but was not failing on my own machine - this was slightly misleading but has been solved, we just need to look out for that in the future.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds error handling to all input components. They now register with the new
ValidateFormcomponent by adding their own error signals to a context-basedFormValiationContextstruct.The form is able to use this context to display errors on all components that may have them. It does not short-circuit evaluated and will display errors on all components if they are not filled out.
This also adds the
ValidatedFormcomponent to all pages currently in use - input components no longer function without aFormValidationContext, and so they must be used within this new form.I had to add some extra type erasing to the form schema and some of the pages. Type checking during compile-time was breaking Docker deployments, but was not failing on my own machine - this was slightly misleading but has been solved, we just need to look out for that in the future.