Hi!
In first refine expression, the filter it's not working.
.refine((files) => !!files.item(0), "A imagem de perfil é obrigatória")
This error returned: Cannot read properties of null (reading 'size')
When empty file is sending, the first filter passing not throw error message.
Hi!
In first refine expression, the filter it's not working.
.refine((files) => !!files.item(0), "A imagem de perfil é obrigatória")This error returned: Cannot read properties of null (reading 'size')
When empty file is sending, the first filter passing not throw error message.