Closed wahlstedt closed 2 years ago
Use formApiRef now . Same thing
Thanks, that worked. Could be useful to add to the migration guide for v4.
There is its in the changelog:) i may be missing some things but its there! Go give it a read
I did a search of the entire repo for getApi
and only got one mention of it (from the June 12, 2018 update). 🤔
Yup then i forgot to add that to migration. My bad. I will add
No worries, we figured it out pretty quickly. :)
While you're at it, can you add info about the Text
input ( #376)? That's another thing that tripped me up while migrating.
Sure will do!
The
getApi
form prop also seems to have disappeared? Nothing mentioned about it in the changelog. I used it to set some form input fields when the form is submitted or when certain keys are pressed during input. The currently listed methods to get access to the api doesn't seem to work from outside the form.