I'm looking for Angular to not update the model until the user submits the form. Or, in another way, to update the model only when the user has submitted the form.
<form ng-submit="process()">
Value is : {{ model.property }}
<input type="text" ng-model="model.property">
<button type="submit">Submit</button>
</form>
I was thinking of something like ng-model-options="{ updateOn: null }"
but it doesn't work.
Is this even possible without it getting too "hacky" (like getting each input's value on submit)?