Merge pull request #671 from dod-ccpo/fieldset-focus-ie

Focus on checkbox/radio in fieldset passes through click event on IE
This commit is contained in:
George Drummond 2019-02-25 11:29:56 -05:00 committed by GitHub
commit 9af70044ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<checkboxinput name='{{ field.name }}' inline-template key='{{ field.name }}'> <checkboxinput name='{{ field.name }}' inline-template key='{{ field.name }}'>
<div class='usa-input {{ classes }} {% if field.errors %}usa-input--error{% endif %}'> <div class='usa-input {{ classes }} {% if field.errors %}usa-input--error{% endif %}'>
<fieldset v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}"> <fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend> <legend>
{{ field() }} {{ field() }}
<label for={{field.name}}> <label for={{field.name}}>

View File

@ -20,7 +20,7 @@
<span v-show='showValid'>{{ Icon('ok',classes="icon-validation") }}</span> <span v-show='showValid'>{{ Icon('ok',classes="icon-validation") }}</span>
{% endset %} {% endset %}
<fieldset v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}"> <fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend> <legend>
<div class="usa-input__title"> <div class="usa-input__title">
{{ field.label | striptags}} {{ field.label | striptags}}

View File

@ -11,7 +11,7 @@
<div <div
v-bind:class="['usa-input', { 'usa-input--error': showError, 'usa-input--success': showValid }]"> v-bind:class="['usa-input', { 'usa-input--error': showError, 'usa-input--success': showValid }]">
<fieldset v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}"> <fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend> <legend>
<div class="usa-input__title{% if not field.description %}-inline{% endif %}"> <div class="usa-input__title{% if not field.description %}-inline{% endif %}">
{{ field.label | striptags}} {{ field.label | striptags}}

View File

@ -10,7 +10,7 @@
{% if field.errors %}v-bind:initial-errors='{{ field.errors }}'{% endif %} {% if field.errors %}v-bind:initial-errors='{{ field.errors }}'{% endif %}
inline-template> inline-template>
<fieldset v-bind:class="['selector usa-input', { 'usa-input--error': initialErrors }]"> <fieldset data-ally-disabled="true" v-bind:class="['selector usa-input', { 'usa-input--error': initialErrors }]">
<v-popover v-bind:container='false' ref='popover' v-on:show='onShow'> <v-popover v-bind:container='false' ref='popover' v-on:show='onShow'>
<legend> <legend>
<div class="usa-input__title">{{ field.label | striptags }}</div> <div class="usa-input__title">{{ field.label | striptags }}</div>