amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

SelectField not respecting size="small"

Open austin-garner opened this issue 2 years ago • 1 comments

Setting size small on SelectField is not alerting the size of the select field. It is not applying the amplify-field--small class to the element like it does in the example.

"@aws-amplify/ui-react": "^3.3.0"

<SelectField
  label="Fruit"
  size="small"
  descriptiveText="What's your favorite fruit?"
>
  <option value="apple">Apple</option>
  <option value="banana">Banana</option>
  <option value="orange">Orange</option>
</SelectField>

austin-garner avatar Aug 14 '22 05:08 austin-garner

Hey @austin-garner, I was unable to reproduce this issue using your code sample and the @aws-amplify/[email protected] package. Are you doing any of your own custom theming through Amplify?

slaymance avatar Aug 15 '22 22:08 slaymance

@austin-garner We have been unable to reproduce your issue, doesnt mean the issue may not exist. We are closing the issue, but feel free to reopen if you are still having a problem applying theme.

Milan-Shah avatar Sep 30 '22 14:09 Milan-Shah