# j-Textarea

> j-Textarea: NEW supports hidden scrollbar

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: 44bbb92890034397c6335cc86a6ab60d9f97619303388625112fb77a3ea724b4
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- __NEW__ supports hidden scrollbar

__Configuration__:

- `required {Boolean}` (optional) enables "required" (default: `false`)
- `icon {String}` (optional) icon for the label without `ti-` e.g. `home`, `cog`, etc.
- `label {String}` (optional) label (default `innerHTML`)
- `autofocus {Boolean}` (optional) focuses the input (default: `false`)
- `placeholder {String}` (optional) adds a `placeholder` text into the input
- `maxlength {Number}` (optional) sets a maximum length of chars
- `disabled {Boolean}` (optional) disables this component
- `height {Number}` (optional) a maximum height for the input
- `error {String}` (optional) adds an `error` text under the input
- `monospace {Boolean}` (optional) sets `monospace` font for the input (default: `false`)
- `readonly {Boolean}` optional, default `false`
- `scrollbar {Boolean}` optional, default `true`

Use it with `<ui-component name="textarea">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

```html example.html
<div>
	<ui-component name="textarea" path="form.body" config="required:true;icon:pencil;scrollbar:false">Body</ui-component>
	<br />
	<ui-component name="textarea" path="form.note" config="placeholder:Internal note">Note</ui-component>
</div>

<script>
	var form = {};
	form.body = 'Hello';
	form.note = '';
</script>
```
