Update testTaskGate.ps1
This commit is contained in:
@@ -482,10 +482,14 @@ $style = @'
|
||||
|
||||
children.forEach(cb => {
|
||||
cb.checked = master.checked;
|
||||
});
|
||||
|
||||
// Trigger native change event so the suboption logic runs
|
||||
// Now simulate change events after setting all checkboxes
|
||||
setTimeout(() => {
|
||||
children.forEach(cb => {
|
||||
cb.dispatchEvent(new Event('change'));
|
||||
});
|
||||
}, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user