We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't seem to get enzyme to render with the checked attribute of an input. I've tried:
<input type="checkbox" checked="checked" value="party" id="party-button" disabled="disabled" />
and it'll render as (without the checked):
<input disabled="" id="party-button" type="checkbox" value="party" />
I tried these variations and they all render the same thing:
<input type="checkbox" checked={true} value="party" id="party-button" disabled /> <input type="checkbox" checked="checked" value="party" id="party-button" disabled={true} />
<input type="checkbox" checked={true} value="party" id="party-button" disabled />
<input type="checkbox" checked="checked" value="party" id="party-button" disabled={true} />
The text was updated successfully, but these errors were encountered:
Hi @solomon23, thanks for raising the issue, I'll have a look as soon as I can, sorry for the delay!
Sorry, something went wrong.
I'm not able to reproduce this issue, if you can still reproduce it, please create a minimal repository where the issue is reproduceable.
No branches or pull requests
I can't seem to get enzyme to render with the checked attribute of an input. I've tried:
<input type="checkbox" checked="checked" value="party" id="party-button" disabled="disabled" />
and it'll render as (without the checked):
<input disabled="" id="party-button" type="checkbox" value="party" />
I tried these variations and they all render the same thing:
<input type="checkbox" checked={true} value="party" id="party-button" disabled />
<input type="checkbox" checked="checked" value="party" id="party-button" disabled={true} />
The text was updated successfully, but these errors were encountered: