[AAE-6417] [FE] [FORM] preselect the logged user (#7377)

* [AAE-6417] [FE] [FORM] preselect the logged user

* [ci:force] force e2e
This commit is contained in:
Dharan
2021-11-25 10:34:05 +05:30
committed by GitHub
parent 6fdc6c101d
commit 2d032f50fb
3 changed files with 74 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ export class FormFieldModel extends FormWidgetModel {
dateDisplayFormat: string = this.defaultDateFormat;
selectionType: 'single' | 'multiple' = null;
rule?: FormFieldRule;
selectLoggedUser: boolean;
// container model members
numberOfColumns: number = 1;
@@ -181,6 +182,7 @@ export class FormFieldModel extends FormWidgetModel {
this.tooltip = json.tooltip;
this.selectionType = json.selectionType;
this.rule = json.rule;
this.selectLoggedUser = json.selectLoggedUser;
if (json.placeholder && json.placeholder !== '' && json.placeholder !== 'null') {
this.placeholder = json.placeholder;