ng-model을 textarea에 적용하고 있지만 11에 오류가 있습니다. 내 코드는 다음과 같습니다.ng-model의 대안 찾기
<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>
ie11에서 잘못된 인수로 오류가 발생했습니다. 나는
<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>
에 코드를 변경하지만 지금, 나는 DoctorDashboardCtrl.otherdetails.education의 값을 인쇄 할 때 저장 버튼에 cicking 후에는 업데이트 점점되지 않고 대신은 이전 값을 보이고있다. 이 문제에 대한 다른 해결책이 있습니까? 아니면 오류가 영원히 지속되도록 노력해야합니까?
어떤 오류가 발생합니까? – str
컨트롤러 코드를 공유 할 수 있습니까? – Thinker
@str 오류 : 인수가 잘못되었습니다. interpolateFnWatcher (https : // localhost : 8443/assets/lib/angular/angular.js : 12020 : 0)에서 (interp : // localhost : 8443/17) watchgroupAction (https : // localhost : 8443/assets/lib/angular/angular.js : 16539 : 13) (Scope.prototype에서) $ digest (https : // localhost : 8443/assets/lib/angular . /angular.js:16869:23) Scope.prototype에서 $이 적용됩니다 (https : //로 로컬 호스트 : 8443/자산/lib 디렉토리/각/angular.js : 17133 : 13) requestLoaded –