Timeline for angularjs update value of ng-model to set default value
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 10, 2016 at 5:50 | vote | accept | Ali Raza | ||
| Feb 9, 2016 at 13:36 | comment | added | Shaishab Roy |
I saw your link. can you try by change your variable name $scope.userName and change ng-model = "changedName". may be overwrite by another controller or directive that used in same page or parent page. because of when click on enter button then get entered value.
|
|
| Feb 9, 2016 at 12:32 | comment | added | Ali Raza | No there is no such issue in console , you can check it out on login popup at bit.ly/1onS0cx Please cl | |
| Feb 9, 2016 at 12:04 | comment | added | Shaishab Roy |
in your browser console shown any error? and are you using module name in html root element?
|
|
| Feb 9, 2016 at 12:00 | comment | added | Ali Raza | Yes bro that's why I am asking , | |
| Feb 9, 2016 at 11:39 | comment | added | Shaishab Roy | you may facing another issue. I added plunker demo you can visit this | |
| Feb 9, 2016 at 11:38 | history | edited | Shaishab Roy | CC BY-SA 3.0 |
added 82 characters in body
|
| Feb 9, 2016 at 11:22 | comment | added | Ali Raza | You can see in code there is value direct assigning to ng-model but that's not working | |
| Feb 9, 2016 at 11:13 | history | answered | Shaishab Roy | CC BY-SA 3.0 |