angular / angular/components

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

Đang mở
#30,442 5 bình luận 10 reaction 0 người được giao Xem trên GitHub
area: material/form-field docs P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với hướng dẫn “Creating a Custom Form Field Control”, đặc biệt là ví dụ “Form field with custom telephone number input control” được liên kết trong issue. Xem xét cách sử dụng Signals và Signal effects hiện có, sau đó cập nhật phần còn lại của hướng dẫn để các phần giải thích và ví dụ sử dụng Signals một cách nhất quán; hướng dẫn phải trình bày rõ ràng phương pháp tiếp cận hiện tại dựa trên Signals trong toàn bộ nội dung.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.