U
U
Urukhayy2017-08-31 14:54:40
Unity
Urukhayy, 2017-08-31 14:54:40

Why are md-radios not highlighted in Angular 4?

Angular Material: And then somewhere on the function call: Nothing will happen. The radio button is not activated. But if you do it right away: Everything will work. Could it be that the md-radio list is generated dynamically via *ngFor ? And all values ​​are assigned from dynamic variables.
<md-radio-group [(value)] = "test">
this.test = "two"
<md-radio-group [value] = "two">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2019-05-10
@freeExec

You find object2 (or you have a direct link to it in object1, or it is unique and you can find it through a tag, name or component type) and now you can already change the variable in it directly or through a method in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question