Description
Bug, feature request, or proposal:
After upgrading to material 2.0.0-beta5, checkboxes on my login screen no longer have margin on their right.
Apparently due to this change:
#2121
and to the fact I use dynamic labels (translated by ngx-translate to be precise).
I use something like that:
<md-checkbox [(ngModel)]="savePassword">{{ "tx_Login_SavePassword" | translate }}
What is the expected behavior?
To have margin (space between the checkbox and its label) on the right of the checkbox (no mat-checkbox-inner-container-no-side-margin class)
What is the current behavior?
The class mat-checkbox-inner-container-no-side-margin is added to the checkbox when rendering the form. it only disappears when one clicks on the checkbox.
What are the steps to reproduce?
Here is the Plunker reproducing the problem (without ngx-translate but using a simple settimeout instead):
What is the use-case or motivation for changing an existing behavior?
Working as it was in previous 2.0.0-beta
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 2.0.0-beta5
Is there anything else we should know?
Don't think so but please ask if I forgot something