Set Form to Pristine without clearing data

前端 未结 7 1525
暖寄归人
暖寄归人 2021-01-31 07:35

I have a form that displays a list of elements. They all share a common save button which is disabled until the form becomes dirty. Then

相关标签:
7条回答
  • 2021-01-31 08:03

    To reset the form:

    this.form.reset();
    
    0 讨论(0)
提交回复
热议问题