Issue #1435Opened September 17, 2018by benschiefer0 reactions

[BUG] - Checkbox Traits are not rendered correctly

Question

Checkbox type traits are not getting shown as "checked" in the component settings.

To reproduce:

  1. Import markup
<input type="checkbox" checked />
  1. Select the input element in the canvas
  2. Go to Component Settings
  3. Notice that the Checked setting is not checked.

The same issue can be noticed for the "required" attribute.

Similarly, if you import

<input required />

or

<input required=""/>

or

<input required="required"/>

the component settings do not properly show that element as being Required.

Expectation: If the attribute is present, and its value is an empty string or a value that is an ASCII case-insensitive match for the attribute’s canonical name, with no leading or trailing white space, then the Checkbox in component settings should be CHECKED

Answers (2)

lock[bot]September 30, 20190 reactions

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.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.