Skip to content

Commit f00be8b

Browse files
committed
fixup! feat(cdk-experimental/radio): add radio demo to dev-app
1 parent 5eb7e1b commit f00be8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cdk-experimental/radio/radio.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
ElementRef,
1616
inject,
1717
input,
18-
isDevMode,
1918
linkedSignal,
2019
model,
2120
signal,
@@ -139,7 +138,7 @@ export class CdkRadioGroup<V> {
139138

140139
constructor() {
141140
afterRenderEffect(() => {
142-
if (isDevMode()) {
141+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
143142
const violations = this.pattern.validate();
144143
for (const violation of violations) {
145144
console.error(violation);

0 commit comments

Comments
 (0)