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.
我得到了一个名为“view-container”的组件的以下 HTML:
应用程序视图容器
现在我想将我的表单放入这个组件中。表单只有 2 个简单的字段:
插入的登录表单
表单应通过 ng-content 放入组件中:
内容投影
但问题是:这个过程会导致表单域冻结。 是吗?
啊,社区,为我的白痴文凭而努力。 不是 ng-content 问题:表单字段的容器的位置与 z-index -1 相对。 这实际上导致了问题......现在解决了:>