big-design icon indicating copy to clipboard operation
big-design copied to clipboard

Input has a `width` prop

Open jorgemoya opened this issue 2 years ago • 2 comments

Input accepts a width prop (via React.InputHTMLAttributes<HTMLInputElement>), that is not actually used (width is set as 100%). We either need to fix this type OR actually allow a width prop to the input, which seems convenient to me. We should do this as well for selects.

Wanted to open this for discussion.

jorgemoya avatar Apr 28 '22 15:04 jorgemoya

Thanks for reporting this!! Good catch! I think we should fix the type? I think would be good to let the input component follow its parent width?

MariaJose avatar May 02 '22 19:05 MariaJose

I'm good with that

jorgemoya avatar May 02 '22 19:05 jorgemoya