1
0
Fork 0

disable autocomplete when similar-topics validation is enabled (#85)

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-04-02 19:21:33 +05:30 committet von GitHub
Ursprung 369ceb8584
Commit 2fe3aa53b1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -3,7 +3,7 @@
{{component validation.component field=field type=type validation=validation}} {{component validation.component field=field type=type validation=validation}}
{{/each-in}} {{/each-in}}
{{yield (hash perform=(action 'perform'))}} {{yield (hash perform=(action 'perform') autocomplete="off")}}
{{#each-in field.validations.below as |type validation|}} {{#each-in field.validations.below as |type validation|}}
{{component validation.component field=field type=type validation=validation}} {{component validation.component field=field type=type validation=validation}}

Datei anzeigen

@ -1 +1 @@
{{input id=field.id value=field.value class=fieldClass placeholder=field.placeholder tabindex=field.tabindex}} {{input id=field.id value=field.value class=fieldClass placeholder=field.placeholder tabindex=field.tabindex autocomplete=autocomplete}}

Datei anzeigen

@ -13,7 +13,7 @@
{{#field-validators field=field as |validators|}} {{#field-validators field=field as |validators|}}
{{#if inputComponentName}} {{#if inputComponentName}}
<div class='input-area'> <div class='input-area'>
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard }} {{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard autocomplete=validators.autocomplete}}
</div> </div>
{{/if}} {{/if}}
{{/field-validators}} {{/field-validators}}