We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7adb48 commit e1f4fc3Copy full SHA for e1f4fc3
pgml-dashboard/src/components/inputs/radio/radio_controller.js
@@ -12,6 +12,10 @@ export default class extends Controller {
12
13
e.currentTarget.classList.add("active");
14
e.currentTarget.ariaPressed = true;
15
- e.currentTarget.querySelector("input").checked = true;
+
16
+ const input = e.currentTarget.querySelector("input");
17
18
+ input.checked = true;
19
+ input.dispatchEvent(new Event("change"));
20
}
21
0 commit comments