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
If I set Description to Required, submitting a form with empty fields threw an error (expected).
If I leave the struct as-is (no Required for Description, only Files Contents and names), and submit form with files_* empty, it threw no errors. (it should)
I found issue #3 but it does seems to only apply to JSON format parser.
Is there any way to do Validation on slices items builtin in macaron/binding or do I need to make them myself after the non-slice fields validation ?
It seems that the JSON part supports having multiple "sub-forms" (slices of structs ?).
I would like to have something like (not File Uploads here, plain HTML input forms):
Is it possible to do that ? how should I use the "ItemFile" and naming in html for fields names ?
The text was updated successfully, but these errors were encountered: