We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I'm submitting a
What is the current behavior? If I set [name] binding to mcInput it's not passed to input element
If the current behavior is a bug, please provide the steps to reproduce it
// component.ts ... nameField: string = 'some-name'; ...
<!-- template.html --> <mc-form-field> <input [name]="nameField" mcInput [(ngModel)]="value" type="text"> </mc-form-field>
What is the expected behavior? [name] binding is passed to input element, it should generate
<input class="mc-input ng-pristine ng-valid ng-touched" mcinput="" type="text" name="some-name" ng-reflect-name="some-name" ng-reflect-model="" ng-reflect-type="text" id="mc-input-0">
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered:
In this case, name is attribute and isn't property. See Attribute Binding and Attribute vs. Property.
Sorry, something went wrong.
ok, but
<input [name]="nameField">
works fine, and
<input mcInput [name]="nameField">
not working
because [name]="nameField" is binding and name="nameField" is attribute I think you have to read information given by @imrekb
fix(cdk): add cdk- -focused classes to radio and disable focus on alert
9b1f9bb
#94 (#178)
imrekq
No branches or pull requests
I'm submitting a
What is the current behavior?
If I set [name] binding to mcInput it's not passed to input element
If the current behavior is a bug, please provide the steps to reproduce it
What is the expected behavior?
[name] binding is passed to input element, it should generate
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: