Skip to content

fx-items errors when additional textnodes are present for label #246

@JoernT

Description

@JoernT

Example:
/demo/fx-control.html

<fx-control ref="selected" update-event="input">
                        <fx-items ref="instance('list')?*" class="widget">
                            <template>
                                  <span class="fx-checkbox">
                                    <input id="check" name="option" type="checkbox" value="{value}"/>
                         -->           <label>foo {name}</label>
                                  </span>
                            </template>
                        </fx-items>
                    </fx-control>

The additional 'foo' textnode will cause an error when evaluating the expression. Also lets the code run into a syntax error and throws browser out-of-state - need to completely reload in a private window to make Chrome behave again.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions