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 fd0dd59 commit 5eb7e1bCopy full SHA for 5eb7e1b
src/cdk-experimental/radio/radio.ts
@@ -15,6 +15,7 @@ import {
15
ElementRef,
16
inject,
17
input,
18
+ isDevMode,
19
linkedSignal,
20
model,
21
signal,
@@ -138,9 +139,11 @@ export class CdkRadioGroup<V> {
138
139
140
constructor() {
141
afterRenderEffect(() => {
- const violations = this.pattern.validate();
142
- for (const violation of violations) {
143
- console.error(violation);
+ if (isDevMode()) {
+ const violations = this.pattern.validate();
144
+ for (const violation of violations) {
145
+ console.error(violation);
146
+ }
147
}
148
});
149
0 commit comments