New and Cancel form buttons
Editing works; now the team lets users create a ticket from scratch and abandon an edit safely. The example adds two buttons to the form: + New ticket and Cancel.
One clears the form to blank fields and puts it in New mode, ready to create a row. The other discards any in-progress edits and reverts the fields to their saved values. Based on what + New ticket does, which function did that button run?
이 연습은 강의의 일부입니다
