rimble-ui
rimble-ui copied to clipboard
<Select> component produces <input> tags
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)
Have you tried downgrading styled-components to version 4.4.1 as mentioned here: https://github.com/ConsenSysMesh/rimble-ui/issues/447#issuecomment-621933861