angular / angular/components

docs-bug(MatFormFieldControl): Update "Creating a Custom Form Field Control" for Signals

未关闭
#30,442 5 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看
area: material/form-field docs P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Documentation Feedback

This is probably already on your TODO list, but in [this guide](https://material.angular.io/guide/creating-a-custom-form-field-control), the first example ("Form field with custom telephone number input control.") has a typescript file using Signals and Signal effects, but the rest of the guide does not mention Signals. It would be great to have the guide re-written using Signals. Creating a custom form field control can already be quite complicated, and Signals are a new concept, so having these docs up to date would be very helpful. Thanks!

### Affected documentation page

https://material.angular.io/guide/creating-a-custom-form-field-control

贡献指南

打开贡献指南

调研方向

从“Creating a Custom Form Field Control”指南开始,重点查看 issue 中链接的“Form field with custom telephone number input control”示例。检查现有的 Signals 和 Signal effects 用法,然后更新指南的其余部分,使其中的说明和示例始终使用 Signals;指南应在全文中清楚地讲解当前基于 Signals 的方法。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
documentation
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。