Open tobek opened 4 years ago
Describe the bug
Textarea component creates <input> element instead of <textarea>
Textarea
<input>
<textarea>
To Reproduce
Using following example code from https://rimble.consensys.design/components/rimble-ui/Textarea
<Textarea placeholder="Start typing..." rows={4} />
the resulting HTML is:
<input placeholder="Start typing..." rows="4" height="auto" color="text" font-size="1rem" class="Box__StyledBox-ha1bw0-0 Input__StyledInput-vwozih-0 koSlV">
Expected behavior
It should be a <textarea> element
Rimble UI Version
Describe the bug
Textarea
component creates<input>
element instead of<textarea>
To Reproduce
Using following example code from https://rimble.consensys.design/components/rimble-ui/Textarea
<Textarea placeholder="Start typing..." rows={4} />
the resulting HTML is:
<input placeholder="Start typing..." rows="4" height="auto" color="text" font-size="1rem" class="Box__StyledBox-ha1bw0-0 Input__StyledInput-vwozih-0 koSlV">
Expected behavior
It should be a
<textarea>
elementRimble UI Version