Ich bin NG-Modell auf Textarea anwenden, aber es zeigt Fehler in ie 11. Mein Code ist wie folgt.Finden Alternative zu ng-Modell
<div ng-hide="DoctorDashboardCtrl.showEducation">
<textarea placeholder="2000 Characters Free flow text" width="832px" height="100px" class="form-control" ng-model="DoctorDashboardCtrl.otherdetails.education">
<!-- {{DoctorDashboardCtrl.otherdetails.education}} -->
</textarea>
</div>
Nach Fehler als ungültiges Argument in IE11 erhalten. Ich änderte den Code zu
<div ng-hide="DoctorDashboardCtrl.showEducation">
<textarea placeholder="2000 Characters Free flow text" width="832px" height="100px" class="form-control" ng-bind="DoctorDashboardCtrl.otherdetails.education">
{{DoctorDashboardCtrl.otherdetails.education}}
</textarea>
</div>
Aber jetzt, nach Spartaste cicking auf, wenn ich Wert von DoctorDashboardCtrl.otherdetails.education gedruckt, ist es nicht immer aktualisiert und stattdessen wird es alten Wert zeigt. Gibt es eine andere Lösung oder muss ich mit dem Fehler arbeiten, der für immer kommt?
Welchen Fehler bekommst du? – str
können Sie Ihren Controller-Code teilen? – Thinker
@str Fehler: Ungültiges Argument. bei interpolateFnWatchAction (https: // localhost: 8443/assets/lib/angular/angular.js: 9430: 17) bei interpolateFnWatcher (https: // localhost: 8443/assets/lib/angular/angular.js: 12020: 17) bei WatchGroupAction (https: // localhost: 8443/Assets/lib/angular/angular.js: 16539: 13) bei Scope.prototype. $ Digest (https: // localhost: 8443/Assets/lib/eckig . /angular.js:16869:23) bei Scope.prototype gelten $ (https: // localhost: 8443/assets/lib/Winkel/Angularjs: 17133: 13) bei bei completeRequest getan bei requestLoaded –