If a form has an upload element with required: true
e.g { name: 'file', type: 'upload', label: 'file', attributes: { fileUploader: true }, required: true }
the user gets no visual alert or feedback if they neglect to include a file on upload. The submit function will fail without a clear indication of the cause.
If a form has an upload element with
required: truee.g
{ name: 'file', type: 'upload', label: 'file', attributes: { fileUploader: true }, required: true }the user gets no visual alert or feedback if they neglect to include a file on upload. The submit function will fail without a clear indication of the cause.