ng-zorro-antd: Several warnings about the component radio (Cannot read properties of undefined (reading 'type'))

Steps to reproduce

Use the latest version and SSR.

What is expected?

No warnings / errors.

What is actually happening?

I get the following warning in the console every time I log in to the application.

1 rules skipped due to selector errors:
  span.ant-radio * -> Cannot read properties of undefined (reading 'type')
Environment Info
ng-zorro-antd 13.1.1
Browser Microsoft Edge Versión 100.0.1185.29

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 3
  • Comments: 18 (2 by maintainers)

Most upvoted comments

Did this get fixed? I’m seeing it on v14

解决了吗

In server.ts file Try this:

app.engine('html',  ngExpressEngine({
      bootstrap: AppServerModule,
     /*
      *@DISABLE inlineCriticalCss
      */
      inlineCriticalCss: false,
    }))

+1 Angular: 15.2.0 ng-zorro-antd: 15.0.3