UI: Fixed autofill password
This commit is contained in:
parent
6538c357f4
commit
30cfda777b
@ -59,7 +59,7 @@
|
||||
@if (providerFieldsList.includes('personalAccessToken')) {
|
||||
<mat-form-field class="mat-block flex-1" appearance="outline">
|
||||
<mat-label translate>ai-models.personal-access-token</mat-label>
|
||||
<input type="password" required matInput formControlName="personalAccessToken">
|
||||
<input type="password" required matInput formControlName="personalAccessToken" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
<mat-error *ngIf="aiModelForms.get('configuration').get('providerConfig').get('personalAccessToken').hasError('required')">
|
||||
{{ 'ai-models.personal-access-token-required' | translate }}
|
||||
@ -115,7 +115,7 @@
|
||||
@if (providerFieldsList.includes('apiKey')) {
|
||||
<mat-form-field class="mat-block flex-1" appearance="outline">
|
||||
<mat-label translate>ai-models.api-key</mat-label>
|
||||
<input type="password" required matInput formControlName="apiKey">
|
||||
<input type="password" required matInput formControlName="apiKey" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
<mat-error *ngIf="aiModelForms.get('configuration').get('providerConfig').get('apiKey').hasError('required')">
|
||||
{{ 'ai-models.api-key-required' | translate }}
|
||||
@ -143,7 +143,7 @@
|
||||
@if (providerFieldsList.includes('secretAccessKey')) {
|
||||
<mat-form-field class="mat-block flex-1" appearance="outline">
|
||||
<mat-label translate>ai-models.secret-access-key</mat-label>
|
||||
<input type="password" required matInput formControlName="secretAccessKey">
|
||||
<input type="password" required matInput formControlName="secretAccessKey" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
<mat-error *ngIf="aiModelForms.get('configuration').get('providerConfig').get('secretAccessKey').hasError('required')">
|
||||
{{ 'ai-models.secret-access-key-required' | translate }}
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
</mat-form-field>
|
||||
<mat-form-field class="mat-block">
|
||||
<mat-label translate>rule-node-config.password</mat-label>
|
||||
<input type="password" [required]="passwordFieldRequired" matInput formControlName="password">
|
||||
<input type="password" [required]="passwordFieldRequired" matInput formControlName="password" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
<mat-error *ngIf="credentialsConfigFormGroup.get('password').hasError('required')">
|
||||
{{ 'rule-node-config.password-required' | translate }}
|
||||
@ -85,7 +85,7 @@
|
||||
</tb-file-input>
|
||||
<mat-form-field class="mat-block">
|
||||
<mat-label translate>rule-node-config.private-key-password</mat-label>
|
||||
<input type="password" matInput formControlName="password">
|
||||
<input type="password" matInput formControlName="password" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
</mat-form-field>
|
||||
</ng-template>
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
</mat-form-field>
|
||||
<mat-form-field class="mat-block">
|
||||
<mat-label translate>rule-node-config.password</mat-label>
|
||||
<input type="password" matInput formControlName="password">
|
||||
<input type="password" matInput formControlName="password" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
</mat-form-field>
|
||||
<mat-checkbox formControlName="automaticRecoveryEnabled">
|
||||
|
||||
@ -109,7 +109,7 @@
|
||||
</mat-form-field>
|
||||
<mat-form-field class="mat-block" floatLabel="always">
|
||||
<mat-label translate>rule-node-config.password</mat-label>
|
||||
<input matInput type="password" placeholder="{{ 'rule-node-config.enter-password' | translate }}" formControlName="password">
|
||||
<input matInput type="password" placeholder="{{ 'rule-node-config.enter-password' | translate }}" formControlName="password" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
</mat-form-field>
|
||||
</section>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
</mat-form-field>
|
||||
<mat-form-field class="mat-block">
|
||||
<mat-label translate>admin.aws-secret-access-key</mat-label>
|
||||
<input required type="password" matInput formControlName="secretAccessKey">
|
||||
<input required type="password" matInput formControlName="secretAccessKey" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
<mat-error *ngIf="awsSnsProviderConfigurationFormGroup.get('secretAccessKey').hasError('required')">
|
||||
{{ 'admin.aws-secret-access-key-required' | translate }}
|
||||
|
||||
@ -136,7 +136,7 @@
|
||||
</mat-form-field>
|
||||
<mat-form-field class="mat-block flex-1">
|
||||
<mat-label translate>admin.proxy-password</mat-label>
|
||||
<input matInput type="password" formControlName="proxyPassword" autocomplete="new-proxy-password">
|
||||
<input matInput type="password" formControlName="proxyPassword" autocomplete="new-password">
|
||||
<tb-toggle-password matSuffix></tb-toggle-password>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user