This adds BeautifulSoup to the Python dev dependencies so that we can render an entire page and then extract the Vue component we need. Ideally, we should refactor all the Vue components so that they live in Jinja macros and we can render those macros directly.
21 lines
624 B
HTML
21 lines
624 B
HTML
<checkboxinput
|
|
name='datafield'
|
|
inline-template
|
|
key='datafield'
|
|
v-bind:initial-checked='initialvalue'
|
|
v-bind:optional=false
|
|
>
|
|
<div>
|
|
<div class='usa-input ' v-bind:class="[{ 'checked': isChecked }]">
|
|
|
|
<fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices ">
|
|
<legend>
|
|
<input checked id="datafield" name="datafield" type="checkbox" v-model="isChecked" value="initialvalue">
|
|
<label for="datafield">initialvalue value</label>
|
|
|
|
|
|
</legend>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</checkboxinput> |