阅读背景:

有没有办法重置Angular中触及的$?

来源:互联网 

I'm trying to implement a "Reset" button for my form. Some of my text fields use the $touched to determine if an error is displayed. But once the $touched flag is set, when I reset the model, $touched is not reset and so my error messages remain visible.I'm trying to implement a "Reset" button for my




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: