patternfly icon indicating copy to clipboard operation
patternfly copied to clipboard

Input group example should not be using the Dropdown

Open tlabaj opened this issue 7 years ago • 7 comments

The Dropdown is not intended for use as an input. The example should either use the Select or the Form Control Select Input. See related React Issue: https://github.com/patternfly/patternfly-react/issues/3217

tlabaj avatar Oct 29 '19 17:10 tlabaj

@mcarrano just want to make you aware. This will replace the input group example that has a dropdown component with a select component.

Screen Shot 2019-10-29 at 12 40 31 PM

mcoker avatar Oct 29 '19 17:10 mcoker

Yes, I think that makes more sense.

mcarrano avatar Oct 29 '19 21:10 mcarrano

I'd like to work on this and I came up with this so far: Screen Shot 2020-04-05 at 16 27 35

ValerieKenyon avatar Apr 05 '20 20:04 ValerieKenyon

Hey @ValerieKenyon the select component is set to consume 100% of the available width of the container it's in. The best way to adjust that is probably to style .pf-c-select inside of .pf-c-input-group, and just set width: auto;.

mcoker avatar Apr 06 '20 21:04 mcoker

OK thanks @mcoker

ValerieKenyon avatar Apr 07 '20 18:04 ValerieKenyon

How does this look?

Screen Shot 2020-04-08 at 09 00 48

and I replaced "dropdowns" with "selects"

Screen Shot 2020-04-08 at 09 00 59

ValerieKenyon avatar Apr 08 '20 13:04 ValerieKenyon

closed via https://github.com/patternfly/patternfly/pull/2934

mcoker avatar Apr 10 '20 00:04 mcoker