Skip to content
Snippets Groups Projects
Commit 040ec731 authored by jojohoch's avatar jojohoch
Browse files

Use isDisabled directive to disable ToggleButton

Using disabled cause conflicts with reactive form in player
parent 8374d79a
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import { ToggleButtonElement } from 'common/models/elements/compound-elements/cl
selector: 'aspect-toggle-button',
template: `
<mat-button-toggle-group [formControl]="elementFormControl"
[disabled]="elementModel.readOnly"
[isDisabled]="elementModel.readOnly"
[value]="elementModel.value"
[vertical]="elementModel.verticalOrientation"
[style.width]="elementModel.dynamicWidth ? 'unset' : '100%'">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment