minor fixes
This commit is contained in:
parent
a3350b2f2c
commit
6a221671fc
|
@ -333,6 +333,7 @@ export class MultipleAutoCompleteComponent extends _CustomComponentMixinBase imp
|
||||||
writeValue(value: any): void {
|
writeValue(value: any): void {
|
||||||
this.value = Array.isArray(value) ? value : null;
|
this.value = Array.isArray(value) ? value : null;
|
||||||
// Update chips observable
|
// Update chips observable
|
||||||
|
this.autocompleteInput.nativeElement.value = '';
|
||||||
this._items = null;
|
this._items = null;
|
||||||
this.getSelectedItems(this.value);
|
this.getSelectedItems(this.value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,7 +164,7 @@ export class DescriptionFormFieldComponent extends BaseComponent implements OnIn
|
||||||
// }
|
// }
|
||||||
break;
|
break;
|
||||||
case DescriptionTemplateFieldType.CHECK_BOX:
|
case DescriptionTemplateFieldType.CHECK_BOX:
|
||||||
if (this.propertiesFormGroup?.get(this.field.id).get('textValue').value == "false") this.propertiesFormGroup?.get(this.field.id).get('textValue').setValue(undefined);
|
this.propertiesFormGroup?.get(this.field.id).get('textValue').setValue(this.propertiesFormGroup?.get(this.field.id).get('textValue').value === 'true');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue