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-label>{{ label }}</mat-label>
<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'" />
<mat-error>
......
......@@ -12,4 +12,5 @@ export class TextEditorComponent extends FormControlEditorAbstractComponent {
@Input() maxlength: number;
@Input() placeholder: string;
@Input() placeholderLabel: String = null;
@Input() autocomplete: 'off' | 'email' = 'off';
}
......@@ -10,6 +10,7 @@
<goofy-client-text-editor
label="Zuständige Stelle"
[formControlName]="formServiceClass.FIELD_EMAIL"
autocomplete="email"
placeholder="E-Mail Adresse"
[maxlength]="40">
</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