Spike that generates a checkbox template from jinja and allows us to mount and manipulate it
This commit is contained in:
21
js/test_templates/checkbox_input_template.html
Normal file
21
js/test_templates/checkbox_input_template.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<checkboxinput
|
||||
name='testVal'
|
||||
inline-template
|
||||
key='testVal'
|
||||
v-bind:initial-checked='false'
|
||||
>
|
||||
<div>
|
||||
<div class='usa-input '>
|
||||
|
||||
<fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices ">
|
||||
<legend>
|
||||
<input id="testVal" name="testVal" type="checkbox" v-model="isChecked" value="y">
|
||||
<label for="testVal">Hooray!</label>
|
||||
|
||||
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</checkboxinput>
|
Reference in New Issue
Block a user