react-components icon indicating copy to clipboard operation
react-components copied to clipboard

Allow a custom prop for stack form input column widths

Open steverydz opened this issue 3 years ago • 2 comments

The column width for labels in the Input component in a stacked form is 4. On Snapcraft listing forms we use a column width of 2 meaning this component won't work for our layout. It would be good if there were custom props to allow changing the default.

steverydz avatar Jul 05 '22 11:07 steverydz

Sounds like a reasonable request. Although we would need to do it for Input and Fields components (as one wraps around another), and there probably needs to be 2 props (one for label and one for input widths). So I'm not sure how complicated it will end up.

bartaz avatar Jul 06 '22 12:07 bartaz

Triage: this seems relatively high effort and low impact. In new architecture we should revisit how forms are built.

bartaz avatar Sep 30 '24 10:09 bartaz