📜  ionic 4 重置表单 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:19.838000             🧑  作者: Mango

代码示例1
this.orderForm.reset();

or to only reset a single field
this.orderForm['controls']['itemname'].reset();