shakacode / re-formality

Form validation tool for reason-react
https://re-formality.now.sh
MIT License
244 stars 36 forks source link

Request: updateMeta API #105

Open danwetherald opened 3 years ago

danwetherald commented 3 years ago

Would it ever be considered to add an API for updating the metadata?

alex35mil commented 3 years ago

Formality doesn't store metadata internally. It passes what's been passed to the useForm hook. In case if async validators need fresh data, storing metadata in ref should work I believe.