You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Description
currently, the
labelPosistion
prop forform
,field
, and a lot ofinput
components accepts one value of typeLabelPosition
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
The text was updated successfully, but these errors were encountered: