Skip to content

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

Revert changes in spot toggle components as it did not work any more as expected

Henriette Darge7cfa9074cce9
diff --git a/frontend/src/app/spot/components/toggle/toggle.component.html b/frontend/src/app/spot/components/toggle/toggle.component.html
index c52cb91b2cf..bbb274786bc 100644
--- a/frontend/src/app/spot/components/toggle/toggle.component.html
+++ b/frontend/src/app/spot/components/toggle/toggle.component.html
@@ -1,4 +1,4 @@
-<span
+<label
*ngFor="let option of options"
[ngClass]="{ 'button': true, '-disabled': disabled, 'form--field-inline-button': true, '-active': value === option.value, 'spot-toggle--button': true }"
data-qa-selector="spot-toggle--option"
@@ -15,4 +15,4 @@
(ngModelChange)="onToggle($event)"
/>
{{ option.title }}
-</span>
+</label>