id="{{inputId}}"
name="{{name}}"
{{#if value}} value="{{value}}"{{/if}}
{{#if error}} invalid aria-invalid="true" aria-describedby="error-{{error.errorInputId}}"{{/if}}
{{#if required}} required aria-required="true"{{/if}}
{{#if disabled}} disabled{{/if}}
{{#if multiple}} multiple{{/if}}
{{#if autofocus}} autofocus{{/if}}
{{#if size}} size="{{size}}"{{/if}}

{{#each dataAttributes as |dataAttribute|}}
    data-{{dataAttribute.name}}="{{dataAttribute.value}}"
{{/each}}