angular / angular/components

docs-bug(INPUT): matNativeControl vs matInput input disambiguation

Đang mở Phù hợp với người mới
#28,501 2 bình luận 4 reaction 0 người được giao Xem trên GitHub
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

It's not apparent what a matNativeControl is, what the differences to matInput are, or what problem it solves.
The documentation for with matNativeControl is thrown in with matInput on one page without ever mentioning why to use one over the other.
It comes out of nowhere after showing a matInput in your example, first thing on the page.
Please amend the Input/FormField pages to clarify this selector.

### Affected documentation page

https://material.angular.io/components/input/overview

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

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

Hướng nghiên cứu

Đọc tài liệu tổng quan về Input tại material.angular.io/components/input/overview, bao gồm các trang Input và FormField cùng các ví dụ hiện có về matNativeControl và matInput. Làm rõ matNativeControl là gì, nó khác matInput như thế nào và khi nào nên sử dụng nó; được xem là hoàn thành khi mục đích và lựa chọn selector đã rõ ràng trước khi ví dụ xuất hiện.

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
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
72/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.