OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Mark component for check when calling writeValue as recommended
Oliver Günthere04092f38203
diff --git a/frontend/src/app/spot/components/switch/switch.component.ts b/frontend/src/app/spot/components/switch/switch.component.tsindex 0661086185d..464351b2ec1 100644--- a/frontend/src/app/spot/components/switch/switch.component.ts+++ b/frontend/src/app/spot/components/switch/switch.component.ts@@ -1,5 +1,6 @@import {- ChangeDetectionStrategy,+ ChangeDetectionStrategy,+ ChangeDetectorRef,Component,ElementRef,EventEmitter,@@ -46,6 +47,7 @@ export class SpotSwitchComponent implements ControlValueAccessor {constructor(public elementRef:ElementRef,+ public cdRef:ChangeDetectorRef,) {populateInputsFromDataset(this);}@@ -59,6 +61,7 @@ export class SpotSwitchComponent implements ControlValueAccessor {writeValue(value:SpotSwitchState):void {this.checked = !!value;+ this.cdRef.markForCheck();}onToggle(value:SpotSwitchState):void {