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
When a list item has a value attribute, the value is not preserved parsing and rendering in UI. Ex:
It should preserve the list value.
Please check the below link
https://codesandbox.io/s/loving-violet-2gicem?file=/src/App.js
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue @Vinay-Kurapati. I can reproduce this bug in your demo. The root cause is from this line: https://github.com/remarkablemark/html-react-parser/blob/v3.0.10/lib/attributes-to-props.js#L50
The attribute value is being transformed to defaultValue:
value
defaultValue
Sorry, something went wrong.
fix(attributes-to-props): don't convert non-uncontrolled component props
76eab7c
Fixes #839
Release:
remarkablemark
Successfully merging a pull request may close this issue.
Expected Behavior
When a list item has a value attribute, the value is not preserved parsing and rendering in UI.
Ex:
Actual Behavior
It should preserve the list value.
Steps to Reproduce
Please check the below link
Reproducible Demo
https://codesandbox.io/s/loving-violet-2gicem?file=/src/App.js
Environment
The text was updated successfully, but these errors were encountered: