angular / angular/components

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

Offen Anfängerfreundlich
#28,501 2 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
docs P4
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Lesen Sie die Dokumentation zur Input-Übersicht unter material.angular.io/components/input/overview, einschließlich der Seiten Input und FormField sowie der vorhandenen Beispiele für matNativeControl und matInput. Klären Sie, was matNativeControl ist, wie es sich von matInput unterscheidet und wann es verwendet werden sollte; als abgeschlossen gilt die Aufgabe, wenn der Zweck und die Auswahl des Selectors ersichtlich sind, bevor das Beispiel erscheint.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
72/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.