ion
ion copied to clipboard
Disable checkboxes in eighth admin activity edit page
Steps to reproduce
- Navigate to https://localhost:8080/eighth/admin/activities/edit/1 (after adding an activity in your dev environment)
- Uncheck the "restricted" box
- You are able to check the Freshman Allowed, Sophomores Allowed, Juniors Allowed, Seniors Allowed boxes
Expected behavior
When the "restricted" box is unchecked, the above boxes should be both grayed out (readonly) and have disabled=true
Actual behavior
The Freshman, Sophomore and Junior boxed are only grayed out; the Senior box doesn't change at all.
I will (attempt) to fix this issue
When I try to reproduce the issue, none of the boxes are grayed out. Do I need any users/prior restrictions before unchecking?
You shouldn't need anything like that. If you try clicking the checkboxes, you should see that the Freshmen, Sophomore and Junior boxes have a gray check, while the Senior checkbox turns orange. If you look at the source, you will see that the first three have disabled=True while the Senior box doesn't.