In sample the fieldset is shown only upon checkbox selection.
<ul> <template is="dom-repeat" items="[[forms]]"> <paper-checkbox label="Enable [[item.name]]" checked="{{item.fieldset_enabled}}"></paper-checkbox> <template is="dom-if" if="[[item.fieldset_enabled]]"> <fieldset><legend> '[[item.name]]' section </legend> ... </fieldset> </template> </template> </ul>
No comments:
Post a Comment