Checked value is not as per expected
Released a new grapesjs-plugin-forms version with the fix
Read full answer below ↓Question
I have visited grapes live demo and found out that there can be two ways to create checkbox.
As you can see if I checked required checkbox then it will generate only required in attribute and if I checked checked then it will generate checked="checked" as an attribute.
what is the way to generate cheched="checked".

Answers (2)
Released a new grapesjs-plugin-forms version with the fix
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #559
Why is my component selected full width?
Trying to create a custom component, see demo here and code here Drag out two button, then drag out two button + link The two buttons are p...
Issue #923
[Question]: Add a select-option to toolbar
I have read the code and only I could find out that there is only a list of ToolbarButton associated with the toolbar. I have a special tra...
Issue #1118
[Question] Generate dynamic identifier in Block
Im looking to create a block that when dropped will generate two components and these components would share some unique identifier between...
Issue #943
[BUG]: Checkbox trait doesn't remove attribute when unchecked
When html attributes are true or false, the should either exist or not exist. For example, required. This don't have a value in HTML5. Vali...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.