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
I've implemented a makeshift file input component in our code, but it's not as good as I'd like because of some limitations in the Formik design, such as field validators only taking value and errors setting value if you use Field. I have a pretty good idea of how to create integrated support (e.g., having field validators take an optional second argument of either files or target), but want to make sure you're open to that as a PR before I put in the work. What do you think?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've implemented a makeshift file input component in our code, but it's not as good as I'd like because of some limitations in the Formik design, such as field validators only taking
value
and errors settingvalue
if you useField
. I have a pretty good idea of how to create integrated support (e.g., having field validators take an optional second argument of eitherfiles
ortarget
), but want to make sure you're open to that as a PR before I put in the work. What do you think?Beta Was this translation helpful? Give feedback.
All reactions