228. Allowing the the User to Clear (Cancel) the Form

1:16 2 Kelliema 1 Kapitoli 30 segmenti

Kapitoli

  1. 0:01

    We already finished resetting. The clear button is pretty similar to that. So here I'll add a click listener and I'll execute onClear. And in the TypeScript file, I'll now add the onClear method here. How can we clear our form? Well, we alr…