We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446cf78 commit cf223e4Copy full SHA for cf223e4
core/src/components/radio-group/radio-group.tsx
@@ -83,8 +83,14 @@ export class RadioGroup implements ComponentInterface {
83
}
84
85
private async updateRadios() {
86
- const { value } = this;
+ /**
87
+ * Make sure we get all radios first
88
+ * so values are up to date prior
89
+ * to caching the radio group value
90
+ */
91
const radios = await this.getRadios();
92
+ const { value } = this;
93
+
94
let hasChecked = false;
95
96
// Walk the DOM in reverse order, since the last selected one wins!
0 commit comments