Answer the question
In order to leave comments, you need to log in
Why is value not displaying when using angular?
I specified value, but the inputs remain empty, why is this so?
<form novalidate class="css-form">
<input type="text" class="myinp loginame" placeholder="Логин" value="login.0" name="login" ng-model="user.name" required>
<input type="password" class="myinp password" placeholder="Пароль" value="password.0" name="password" ng-model="user.email" required>
<div class="clicker">
<button class="btn waves-effect waves-light" ng-click="forsend(user)">
Войти
<i class="material-icons right">send</i>
</button>
</div>
</form>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question