Red Hat Bugzilla – Bug 999783
[RFE] Webadmin: check RHEVM role component if a subtree component is checked
Last modified: 2017-11-21 04:04:22 EST
very similar to the request in bug 985637 (identical request, different tree).
as mentioned in bug 985637, comment #2 - we need a 'half-checked' check-box in order to support this properly (the 'parent' check-box should be fully checked only if *all* of its 'child' check-boxes are checked).
As mentioned in Comment 2, this can be accomplished with a 'half-checked' checkbox. This is built into HTML via 'indeterminate checkboxes'.
"A checkbox in the indeterminate state has a horizontal line in the box (it looks somewhat like a hyphen or minus sign) instead of a check/tick in most browsers.
There are not many use cases for this property. The most common is when a checkbox is available that "owns" a number of sub-options (which are also checkboxes). If all of the sub-options are checked, the owning checkbox is also checked, and if they're all unchecked, the owning checkbox is unchecked. If any one or more of the sub-options have a different state than the others, the owning checkbox is in the indeterminate state."
Targeting to 4.3