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
Why is the file key inside the value interface have only two allowed types i.e. a File and an empty string? interface Values { file: '' | File; }
The problem is the errors also have the Partial Value type and I am not able to assign it a string
(If I am not wrong the values inside the error object are displayed as error)
Current Behavior 😯
Select a file to upload using the SimpleFileUpload component that fails validation and see that it does not display an error message
Expected Behavior 🤔
Shows error immediately if selected file does not pass validation.
Steps to Reproduce 🕹
A suggested fix
Call
setFieldTouched(field.name, true)
in theonChange
callback.The text was updated successfully, but these errors were encountered: