-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Description
currently, the labelPosistion
prop for form
, field
, and a lot of input
components accepts one value of type LabelPosition
which is not responsive.
Problem Statement/Justification
A responsive label position will make writing form components less redundant as you won't have to write two or more components with identical content but different styles while catering to different viewports.
This will also help save the current state of the form when there is a resize.
Proposed Solution or API
To make things responsive, change the prop to accept LabelPostion | LabelPostion[]
and stylize the labels and inputs according to the breakpoint.
Alternatives
None.
Additional Information
Metadata
Metadata
Assignees
Labels
No labels