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

form field classes destroy_flag and -cf-ignore-disabled are not used anymore

Ivan Kuchin7bcc9ebb4d3c
diff --git a/frontend/src/stimulus/controllers/dynamic/admin/custom-fields.controller.ts b/frontend/src/stimulus/controllers/dynamic/admin/custom-fields.controller.ts
index 481f50e11f5..c946f0da9a5 100644
--- a/frontend/src/stimulus/controllers/dynamic/admin/custom-fields.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/admin/custom-fields.controller.ts
@@ -87,9 +87,7 @@ export default class CustomFieldsController extends Controller {
element
.querySelectorAll<HTMLInputElement>('input,textarea')
.forEach((input) => {
- if (!input.matches('.destroy_flag,.-cf-ignore-disabled')) {
- input.disabled = !active;
- }
+ input.disabled = !active;
});
});
}