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

GitHub-style tasklists do not render checked boxes correctly #78

Open
shanebishop opened this issue Aug 12, 2022 · 0 comments
Open

GitHub-style tasklists do not render checked boxes correctly #78

shanebishop opened this issue Aug 12, 2022 · 0 comments

Comments

@shanebishop
Copy link

shanebishop commented Aug 12, 2022

GitHub-style tasklists do not render checked boxes correctly, even when tasklists: true is set in the options.

For example, the following Markdown will render incorrectly:

 - [x] This renders without the checkbox showing as checked
 - [ ] This renders fine

I also see the following warning in the browser console on Chrome:

Warning: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.

Example render:
image

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

No branches or pull requests

1 participant