Issue #2829💬 AnsweredOpened June 14, 2020by gpmonch0 reactions

"Checked" trait does not get updated

快速解答by artf

Thanks @gpmonch for the report but it's just an issue with the webpage preset which uses an old version of forms plugin. Here you can see a working example https://jsfiddle.net/bp5e9zkc/

Read full answer below ↓

Question

When updating a component of type checkbox which has the "checked" trait via html import, it does not update the trait input, i.e: in the grapes.js demo, import html option, add a checked="checked" attribute to the "Male" checkbox in the demo form, the result is that the checkbox on the form is checked, but it's "checked" trait is not.

Answers (2)

artfJune 18, 2020

Thanks @gpmonch for the report but it's just an issue with the webpage preset which uses an old version of forms plugin. Here you can see a working example https://jsfiddle.net/bp5e9zkc/

gpmonchJune 18, 2020

Thanks for the quick reply!

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.