<div class="m-form-control ">
<label class="a-label " for="text-input">
Text Input
</label>
<input type="text" value="" class="a-input input--text" id="text-input">
</div>
<div class="m-form-control {{viewtypes.specifier}}">
{{ render '@formelement-label' partials.label merge=true }}
{{ render (stringToPartial partials.input.type) partials.input merge=true }}
{{#switches.hasErrorPlaceholder}}
<div class="form-control__error-message" id="{{content.errorId}}"></div>
{{/switches.hasErrorPlaceholder}}
</div>
{
"switches": {
"hasErrorPlaceholder": false
},
"viewtypes": {
"specifier": ""
},
"content": {
"errorId": ""
},
"partials": {
"label": {
"content": {
"for": "text-input",
"text": "Text Input"
}
},
"input": {
"type": "formelement-input--text",
"switches": {},
"content": {
"id": "text-input"
}
}
}
}
No notes defined.