The value of my inputfield is set but why is my inputfield still empty ? I am using a combination of laravel en angular :
inputfield html :
<input
type="text"
name="name"
value="{{ old('name') }}"
ng-model="name"
ng-model-options='{ debounce: 300 }'
class="form-control"
ng-class="{ enabled : nameIsValid }"
ng-change="checkName(name)"
placeholder="Your nickname"
required>
It is hard to tell the reason if you don't put your controller code in here. But here are some assuptions from my part:
$scope.$watch()
functionscope
in this template? maybe changes made by the child-scope aren't altering the original variable of the $parent
-scope