Skip to content
Snippets Groups Projects
Commit e18dd8ba authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'master' of git.ozg-sh.de:mgm/goofy

parents 98c058aa 1278fc5c
No related branches found
No related tags found
No related merge requests found
<mat-form-field appearance="fill"> <mat-form-field appearance="fill">
<mat-label>{{ label }}</mat-label> <mat-label>{{ label }}</mat-label>
<input matInput placeholder="{{ placeholder }}" <input matInput placeholder="{{ placeholder }}"
[formControl]="fieldControl" [maxlength]="maxlength" autocomplete="off" (blur)="touch()" [formControl]="fieldControl" [maxlength]="maxlength" [autocomplete]="autocomplete" (blur)="touch()"
[attr.data-test-id]="(label | convertForDataTest) + '-text-input'" /> [attr.data-test-id]="(label | convertForDataTest) + '-text-input'" />
<mat-error> <mat-error>
......
...@@ -12,4 +12,5 @@ export class TextEditorComponent extends FormControlEditorAbstractComponent { ...@@ -12,4 +12,5 @@ export class TextEditorComponent extends FormControlEditorAbstractComponent {
@Input() maxlength: number; @Input() maxlength: number;
@Input() placeholder: string; @Input() placeholder: string;
@Input() placeholderLabel: String = null; @Input() placeholderLabel: String = null;
@Input() autocomplete: 'off' | 'email' = 'off';
} }
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<goofy-client-text-editor <goofy-client-text-editor
label="Zuständige Stelle" label="Zuständige Stelle"
[formControlName]="formServiceClass.FIELD_EMAIL" [formControlName]="formServiceClass.FIELD_EMAIL"
autocomplete="email"
placeholder="E-Mail Adresse" placeholder="E-Mail Adresse"
[maxlength]="40"> [maxlength]="40">
</goofy-client-text-editor> </goofy-client-text-editor>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment