Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的项目中有一个 FormLayout,在这个 FormLayout 中,我有一个使用 EmailValidator 验证的字段电子邮件和一个按钮(“保存”)。
当我在字段电子邮件中输入电子邮件时,验证有效,如果有任何错误,请用(!)红色标记该字段。
如果有任何带有验证错误(!)的字段未提交表单布局,我如何在单击按钮(“保存”)时检查表单布局?
任何的想法 ?
在此处查看本章和此处basic()方法 中的源代码。
basic()