jsun969 / react-hook-form-antd

๐Ÿ“‹๐Ÿœ Master your Ant Design form with React Hook Form! ็”จ React Hook Form ๆ‹ฟๆไฝ ็š„ Ant Design ่กจๅ•๏ผ
https://npm.im/react-hook-form-antd
MIT License
61 stars 10 forks source link

fix: pass disabled prop to underlying controller #37

Closed dmuharemagic closed 1 year ago

dmuharemagic commented 1 year ago

One of the latest updates of react-hook-form (7.48.0) breaks passing the disabled prop to the underlying Ant component.

This fixes the aforementioned behaviour and allows the users to pass the disabled prop the controller directly, resolving issue #36.

jsun969 commented 1 year ago

close #36

jsun969 commented 8 months ago

@all-contributors please add @dmuharemagic for code, bug

allcontributors[bot] commented 8 months ago

@jsun969

I've put up a pull request to add @dmuharemagic! :tada: