Skip to content

Commit

Permalink
SNRGY-2931 fix disabled omit-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoRoessner committed Dec 6, 2023
1 parent 3d40ab3 commit 7a90c5d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,9 @@ export class DeviceTypesContentVariableDialogComponent implements OnInit {
aspect_id: [{disabled: true, value: this.contentVariable.aspect_id}],
function_id: [{disabled: true, value: this.contentVariable.function_id}],
is_void: [{disabled: true, value: this.contentVariable.is_void}],
emit_empty: [{disabled: true, value: !!this.contentVariable.omit_empty}],
omit_empty: [!!this.contentVariable.omit_empty],
});
this.firstFormGroup.get("omit_empty")?.disable(); //[{disabled: true, value: !!this.contentVariable.omit_empty}], doesn't work
} else {
this.firstFormGroup = this._formBuilder.group(
{
Expand Down

0 comments on commit 7a90c5d

Please sign in to comment.