Skip to content
Snippets Groups Projects
Commit 08e28710 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Wallet > Save ID: Disable autocomplete in inputs

parent aa01b84f
No related branches found
No related tags found
No related merge requests found
...@@ -142,6 +142,7 @@ ...@@ -142,6 +142,7 @@
</p> </p>
<label class="item item-input"> <label class="item item-input">
<input type="text" <input type="text"
autocomplete="off"
ng-model="transferData.pubkey" ng-model="transferData.pubkey"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
placeholder="{{'API.DOC.TRANSFER.PARAM_PUBKEY_HELP'|translate}}"> placeholder="{{'API.DOC.TRANSFER.PARAM_PUBKEY_HELP'|translate}}">
...@@ -153,6 +154,7 @@ ...@@ -153,6 +154,7 @@
</p> </p>
<label class="item item-input"> <label class="item item-input">
<input type="text" <input type="text"
autocomplete="off"
ng-model="transferData.amount" ng-model="transferData.amount"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
placeholder="{{'API.DOC.TRANSFER.PARAM_AMOUNT_HELP'|translate}}"> placeholder="{{'API.DOC.TRANSFER.PARAM_AMOUNT_HELP'|translate}}">
...@@ -163,7 +165,9 @@ ...@@ -163,7 +165,9 @@
{{'API.DOC.TRANSFER.PARAM_COMMENT' | translate}} : {{'API.DOC.TRANSFER.PARAM_COMMENT' | translate}} :
</p> </p>
<label class="item item-input"> <label class="item item-input">
<input type="text" ng-model="transferData.comment" placeholder="{{'API.DOC.TRANSFER.PARAM_COMMENT'|translate}}"> <input type="text"
autocomplete="off"
ng-model="transferData.comment" placeholder="{{'API.DOC.TRANSFER.PARAM_COMMENT'|translate}}">
</label> </label>
<p class="padding-top"> <p class="padding-top">
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="list"> <div class="list">
<div class="item item-input"> <div class="item item-input">
<input type="text" <input type="text"
autocomplete="off"
ng-if="!rows || rows &lt;= 1" ng-if="!rows || rows &lt;= 1"
ng-model="value"> ng-model="value">
<textarea <textarea
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</div> </div>
<div class="list no-margin no-padding has-header has-footer block"> <div class="list no-margin no-padding has-header has-footer block">
<div class="item item-input"> <div class="item item-input">
<input type="text" ng-model="value"> <input type="text" autocomplete="off" ng-model="value">
</div> </div>
</div> </div>
......
...@@ -7,7 +7,9 @@ ...@@ -7,7 +7,9 @@
<label class="item item-input {{smallscreen ? 'item-stacked-label' : 'item-floating-label'}}" <label class="item item-input {{smallscreen ? 'item-stacked-label' : 'item-floating-label'}}"
ng-class="{'item-input-error': recoverForm.$submitted && recoverForm['question{{$index}}'].$invalid}"> ng-class="{'item-input-error': recoverForm.$submitted && recoverForm['question{{$index}}'].$invalid}">
<span class="input-label" style="{{smallscreen ? 'white-space: normal' : ''}}">{{question.value }}</span> <span class="input-label" style="{{smallscreen ? 'white-space: normal' : ''}}">{{question.value }}</span>
<input type="text" name="question{{$index}}" placeholder="{{smallscreen ? '' : question.value }}" ng-model="question.answer" required /> <input type="text"
autocomplete="off"
name="question{{$index}}" placeholder="{{smallscreen ? '' : question.value }}" ng-model="question.answer" required />
</label> </label>
<div class="form-errors" <div class="form-errors"
ng-show="recoverForm.$submitted && recoverForm['question{{$index}}'].$error" ng-show="recoverForm.$submitted && recoverForm['question{{$index}}'].$error"
......
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
<a class="dark"><i class="icon ion-android-add" ng-click="addQuestion()"></i></a> <a class="dark"><i class="icon ion-android-add" ng-click="addQuestion()"></i></a>
<div class="list list-inset"> <div class="list list-inset">
<label class="item item-input"> <label class="item item-input">
<input type="text" placeholder="{{'ACCOUNT.SECURITY.ADD_QUESTION' | translate}}" ng-model="formData.addQuestion"/> <input type="text"
autocomplete="off"
placeholder="{{'ACCOUNT.SECURITY.ADD_QUESTION' | translate}}" ng-model="formData.addQuestion"/>
</label> </label>
</div> </div>
</div> </div>
......
...@@ -7,7 +7,10 @@ ...@@ -7,7 +7,10 @@
<label class="item item-input item-text-wrap {{smallscreen ? 'item-stacked-label' : 'item-floating-label'}}" <label class="item item-input item-text-wrap {{smallscreen ? 'item-stacked-label' : 'item-floating-label'}}"
ng-class="{'item-input-error': answersForm.$submitted && answersForm['question{{$index}}'].$invalid}"> ng-class="{'item-input-error': answersForm.$submitted && answersForm['question{{$index}}'].$invalid}">
<span class="input-label" style="width: 100%; max-width: inherit;">{{question.value | translate}}</span> <span class="input-label" style="width: 100%; max-width: inherit;">{{question.value | translate}}</span>
<input type="text" name="question{{$index}}" placeholder="{{smallscreen ? '' : question.value | translate}}" ng-model="question.answer" required /> <input type="text"
autocomplete="off"
name="question{{$index}}" placeholder="{{smallscreen ? '' : question.value | translate}}" ng-model="question.answer"
required/>
</label> </label>
<div class="form-errors" <div class="form-errors"
ng-show="answersForm.$submitted && answersForm['question{{$index}}'].$error" ng-show="answersForm.$submitted && answersForm['question{{$index}}'].$error"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment