In this cookbook we show how to validate user input in the UI and display useful validation messages using first the template-driven forms and then the reactive forms approach.
在本烹饪书中,我们展示在界面中如何验证用户输入,并显示有用的验证信息,先使用模板驱动表单方式,再使用响应式表单方式。
"Reactive forms" are the code-based counterpart to the declarative "Template Driven" forms approach introduced in the forms guide.
“响应式表单”是基于代码的表单构建方式,与表单中介绍的声明“模板驱动”表单的方法相对。
"Reactive forms" are the code-based counterpart to the declarative "Template Driven" forms approach introduced in the forms guide.
“响应式表单”是基于代码的表单构建方式,与表单中介绍的声明“模板驱动”表单的方法相对。
应用推荐