jannikbuschke / formik-antd

Simple declarative bindings for Ant Design and Formik.
https://codesandbox.io/s/github/jannikbuschke/formik-antd-example
MIT License
587 stars 81 forks source link

Support for Ant Design 5 #204

Open YassineDM opened 1 year ago

YassineDM commented 1 year ago

Hi there, just wondering whether you were considering support for Ant Design 5…

YassineDM commented 3 months ago

For Input.TextArea, besides initialValue not being taken into account, value seems to be visually persisting even when it was technically emptied (manually with setFormField or through resetForm) and validation confirms that the field is considered empty. I also encountered the same problem with the Checkbox & Radio components where actual & displayed values seem out of sync (when emptied)... Lastly, it would be great to include the new Input.Search component...

YassineDM commented 2 months ago

@jannikbuschke, did you get the chance to take a look at it?

Vincz commented 2 months ago

Hi @jannikbuschke, I created #219 that fixe the issue of Input.TextArea and Input.Password. It just fix the value override. Would it be possible to build and publish a new beta version with it? Thanks!

Vincz commented 1 month ago

Thank you @jannikbuschke :-) One last thing, I think you forgot to compile the package before publishing the beta-10 on NPM as there is only the src/ folder.

jannikbuschke commented 1 month ago

I should somehow improve this workflow, forgot a bit how to do it : ) does beta-11 work?

Vincz commented 1 month ago

@jannikbuschke beta-11 works as expected ! :-) Thank you very much for your reactivity!