Ramonda

reset-the-model-does-not-hear

This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.

Reported when a reset button's form holds a field with a value or content that cannot be read, the button is in no <form> of the same render, or .reset() is the browser's.

A form whose fields have a value resets through its model:

clear(): void {
  this.form.reset();
}

<button type="button" onclick={this.clear}>Clear</button>

A <button type="reset"> belongs to a form of uncontrolled fields — defaultValue, defaultChecked — written in the same render.

Next