You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Issue
Ideally, form values should be validated server-side as well as client side. While the "required" field is passed to the client side, no validation is implemented on the client side.
Solution
This could likely be solved with a beforeValidate hook that fetches the related form, and ensures each required field is present.
The text was updated successfully, but these errors were encountered:
Hey @IAmNatch, this might be duplicative of #50, what do you think? If you want to leave a comment of support in that issue I will close this one out so we can consolidate the two.
Hey @jacobsfletch, you're right, this does look like a duplicate. I'll aim to put up a PR for #50 this week, utilizing beforeValidate if that sounds good to you.
@IAmNatch that would be amazing. Although I think the right way to do this would be to use the normal field-level validations and not a custom hook. We can talk about this more in the other ticket or in a PR.
Issue
Ideally, form values should be validated server-side as well as client side. While the "required" field is passed to the client side, no validation is implemented on the client side.
Solution
This could likely be solved with a beforeValidate hook that fetches the related form, and ensures each required field is present.
The text was updated successfully, but these errors were encountered: