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

<Select> component produces <input> tags

Open JoshDAO opened this issue 4 years ago • 1 comments

Describe the bug The <Select> component produces a normal text input field with the dropdown svg attached.

To Reproduce Create a simple form with the Select element.

Expected behavior A dropdown list with one entry - Ethereum. Instead, an error is produced because the options are being rendered as html children - which input tags do not support.

Rimble UI Version

0.14.0

Desktop (please complete the following information):

  • OS: Linux mint 20 Cinnamon
  • Browser: chrome Version 87.0.4280.88 (Official Build) (64-bit)

JoshDAO avatar Jan 10 '21 14:01 JoshDAO

Have you tried downgrading styled-components to version 4.4.1 as mentioned here: https://github.com/ConsenSysMesh/rimble-ui/issues/447#issuecomment-621933861

codyx avatar Feb 02 '21 13:02 codyx