angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

prod build with angular material - radio buttons not working

Open Enc-EE opened this issue 8 years ago • 3 comments

Versions

1.6.2

Repro steps

  • ng new some-name
  • run steps 1 - 4 of https://material.angular.io/guide/getting-started
  • copy the code of the example on page https://material.angular.io/components/radio/examples in your code
  • ng build --prod

Observed behavior

Radio button is not working properly. Cannot check any option.

Desired behavior

When clicking on an option, it should be selected

Mention any other details that might be useful (optional)

No, there are no further errors. There is also a strange behaviour using simple mat-input fields. Maybe the problem comes from [(ngModel)]-bindings. Using @angular/[email protected] everything works fine. Even if I make a normal build ng build radio button will work in 1.6.2. I've already spend some time on this issue but i'm stuck since there is no real error. I hosted the ng build --prod in the simple http-server and an IIS.

Could you please help me?

Enc-EE avatar Dec 26 '17 10:12 Enc-EE

duplicated #8997

vthinkxie avatar Dec 26 '17 13:12 vthinkxie

Thanks for reporting this issue. However, this issue is a duplicate of an existing issue https://github.com/angular/angular-cli/issues/8997. Please subscribe to that issue for future updates.

filipesilva avatar Dec 28 '17 17:12 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.