Skip to content

Move DatePicker label to its own subcomponent #3829

Description

@martellaj

This is a proposal for moving the label in the DatePicker component to outside of the inner TextField that DatePicker uses for selecting the date, instead of relying on the label prop in TextField. The reason for this is that, currently, clicking on the label (or in the empty space beside it) triggers that DatePicker callout to render, making it very difficult to close it in small spaces. If this proposal is accepted, I can do the work.

datepicker label proposal

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions