You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
generally, you want to update the model your input is bound to (and let angular propagate it to the view) instead of updating your view directly. the latter is typically only used in unit tests.
Actually, this doesn't feel like Angular code. In Angular, it is the other way around: You update the model and the change is reflected in the view. (The model is the single source of truth.)
So, instead of trying to set the value and expect the model to be updated, you should update the model (editForm.input3) and the element's value would be updated as a result.
That said, this is a general support question and should be directed to the appropriate channels.
GitHub issues are reserved for bug reports and feature requests.
example: i have 3 input fields. The values from the first and second input field get's calculated and the result is shown in the third inputbox.
<input type="number" id="input3" name="input3" ng-model="editForm.input3" ng-currency class="form-control input-sm" placeholder="input3">
i can see the result on the form in input3, but how can i get the model updated?
The text was updated successfully, but these errors were encountered: