AngularJS clears input fields populated with Laravel form model binding
I am new to AngularJS and i work Laravel. When i fill my input fields with Laravel form model binding, and i set ng-model="title" on input field, AngularJs clears populated input and sets it's value to ''; When i comment ng-model="title", field is populated. on page load for few miliseconds input field is populated, and i think when AngularJS initializes $scope, input fields become empty. I have not any controller in angular and when i add angular to page this problem appears. How can i prevent angular from clear input fields, that are filled for edit action?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.