Timeline for How to push array elements into object in angular 7
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 11, 2019 at 17:27 | comment | added | UIAPPDEVELOPER | Can you please help me on it,Here my main concern to capture the checked values on submit, not on change or on select,Also I am getting empty array when my checkboxes are pre selected | |
| Nov 8, 2019 at 21:29 | comment | added | Naga Sai A | @UIAPPDEVELOPER, so it is working fine for checkboxes and failing with radio button? | |
| Nov 8, 2019 at 18:51 | comment | added | UIAPPDEVELOPER | Thanks for your answer,I implemented in my project its working fine but in case of radio box if I check and uncheck it and check again other radio box(in case of parent1), and click submit button , Its showing into true for both in the checked value console.log(data) ,It not working like checkbox. I mean checked status is not coming properly, here is the modificaion <li *ngFor="let child of item.value; let i = index">{{child}}<span class="pull-right"><input name="{{item.name}}" value="{{child}}" type="radio" (change)="item.checked[i] = !item.checked[i]"></span></li> | |
| Nov 5, 2019 at 20:58 | history | answered | Naga Sai A | CC BY-SA 4.0 |