I have some form and button to save it. The button must only be enabled when there are unsaved changes (inputs) on the form.
<form>
<div>
... (inputs)
<span (click)=save()> Save </span>
</div>
</form>
Is there some build-in mechanism for form dirty check in Angular 5? What is the easiest way to implement this scenario ?