[admin] the form for activityReason and ActivityCategory : active is not uncheckable
In the admin part, if we uncheck the "active" checkbox, the form renders and html error : "checking this button is required".
Category unactive implies all the reasons with this category as unactive - refs #622
#1 Updated by Julien Fastré almost 4 years ago
Possibles way to fix this :
- uncheck the "required" section ;
- add choices to have a yes/no possibility (in a radio (expanded) or select html widget)
+ check that "active" is taken into account in another pages (The activityReason and ActivityCategory should not be seen by users).
#7 Updated by Julien Fastré almost 4 years ago
Also for ActivityCategory what do we do with all the activity of the category ? I think we should set them inactive too.
I also think that, if an ActivitCategory is set as "unactive", all ActivityReason linked with the category should not appears in the drop-down choice.