Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
disable autocomplete when similar-topics validation is enabled (#85)
Dieser Commit ist enthalten in:
Ursprung
369ceb8584
Commit
2fe3aa53b1
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -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}}
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
Laden …
In neuem Issue referenzieren