fixed validation for radio and text input fields

This commit is contained in:
Beverly Nguyen
2025-03-21 18:53:49 -07:00
parent 78ee70b0c1
commit 3a38b8bf31
13 changed files with 50 additions and 24 deletions

View File

@@ -56,7 +56,6 @@
{% set itemHintId = id + '-item-hint' %}
<div class="usa-radio">
<input class="usa-radio__input" id="{{ id }}" name="{{ params.name }}" type="radio" value="{{ item.value }}"
{{-" checked" if item.checked }}
{{-" disabled" if item.disabled }}
{%- if item.conditional %} data-aria-controls="{{ conditionalId }}"{% endif -%}
{%- if hasHint %} aria-describedby="{{ itemHintId }}"{% endif -%}