Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inputs with disabled={false} throw an error (workaround) #9313

Merged
merged 4 commits into from
Sep 26, 2023

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Sep 25, 2023

Fix #9261

Actually this is a workaround, since the root issue has to be fixed on RHF's side (react-hook-form/react-hook-form#10907)

Cannot be tested automatically.

To test:

  • Upgrade to RHF >= 7.46.0
  • Upgrade to React 18
  • Set disabled={false} somewhere in the demo

@fzaninotto
Copy link
Member

TypeScript complains

@djhi djhi merged commit 49ad29d into master Sep 26, 2023
11 checks passed
@djhi djhi deleted the issue-9261-workaround branch September 26, 2023 07:51
@cyonder
Copy link

cyonder commented Sep 29, 2023

I'm curious to know when this will be released. How often do we have releases?

@djhi
Copy link
Contributor

djhi commented Sep 29, 2023

We usually release patch version every week. This one is scheduled for today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting 'disabled' to false in input components crashes the app
4 participants