-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Description
The id for an Input should probably be marked as required by it's TS typings. If not, its label will not have labelFor set.
Expected behavior
Spit out a TS error when id is not present.
Actual behavior
Not having an id is not flagged as an error, while the docs state that id should be set.
Steps to reproduce the problem
- Create an
Inputand don't set theidprop - No TS errors/warnings
Specifications
- Affected component(s): Input
- Versions: latest
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
