首页 > 解决方案 > 我想知道哪一个是最常用的模板驱动表单或响应式表单?

问题描述

我是角度方面的新手,并且在模板驱动形式和反应形式之间感到困惑。我只想知道我应该学习哪些最常用的?

标签: angular

解决方案


Request to use Reactive forms. This enable you to write clean template with validation comes in major role. This may help you, the logs from angular.

https://blog.angular-university.io/introduction-to-angular-2-forms-template-driven-vs-model-driven/ https://www.pluralsight.com/guides/difference-between-template-driven-and-reactive-forms-angular


推荐阅读