ConsenSysMesh / ConsenSysMesh/rimble-ui

Textarea component creates <input> element instead of <textarea>

Open
#451 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
455
Forks
60
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

`Textarea` component creates `` element instead of ``

**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**

- 0.14.0 (latest)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.