# Text Area Control Setup

**URL:** <https://forums.realmacsoftware.com/t/text-area-control-setup/44317>\
**Category:** RapidWeaver Elements\
**Created:** [August 17, 2024, 12:15am UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317 "2024-08-17T00:15:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [August 17, 2024, 12:15am UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/1 "2024-08-17T00:15:36Z")

</div>

When using new text area control property code, the control disappears from the right sidebar.

Bill  
Stack-Its

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [August 17, 2024, 10:19am UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/2 "2024-08-17T10:19:22Z")

</div>

There was a syntax error in the example code, I’ve fixed that up 👍

> **[Text Area | Elements Manual](https://docs.realmacsoftware.com/elements-docs/elements-language/properties.json/ui-controls/text-area)**

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [August 17, 2024, 6:19pm UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/3 "2024-08-17T18:19:17Z")

</div>

This is my textarea snippet code just for the control:

```auto
{
  "title": "TextArea:",
   "properties": [{
     "title": "TextArea2",
     "property": "textarea",
     "textArea": {
       "default": "Hello World",
       "subtitle": "Subtitle"
     }
   }]
}

```

No control in sidebar or value in template.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 17, 2024, 6:49pm UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/4 "2024-08-17T18:49:32Z")

</div>

I’m wondering if you’re trying to list multiple controls together incorrectly… If you can show us your surrounding code we can try and locate the error for you.

If I paste your code into an empty group it works just fine.

Empty Group:

```auto
{
    "groups": [
      PASTE YOUR CODE HERE  
    ]
}

```

Your Code:

```auto
{
  "title": "TextArea:",
   "properties": [{
     "title": "TextArea2",
     "property": "textarea",
     "textArea": {
       "default": "Hello World",
       "subtitle": "Subtitle"
     }
   }]
}

```

Result:

 ![CleanShot 2024-08-17 at 7 .48.18@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/6/564cc4d25506c2e53ba5d9b8d953dcc5afdad1c8.jpeg)

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [August 17, 2024, 7:52pm UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/5 "2024-08-17T19:52:17Z")

</div>

Ok Dan, I figured out what the confusion is (and this will be a recurring thing that you want to avoid from happening over & over)

I’ll just show an example once, as all my other posts are probably the same.

This is the code for textarea & this snippet is all you should show in the docs along with this text:  
_Place this control code inside of the main ‘properties’ array which is inside of groups, see Grouping Controls_

```auto
{
  "title": "TextArea:",
  "property": "textarea",
  "textArea": {
    "default": "Hello World",
    "subtitle": "Subtitle"
  }
}

```

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 18, 2024, 5:50pm UTC](https://forums.realmacsoftware.com/t/text-area-control-setup/44317/6 "2024-08-18T17:50:25Z")

</div>

We’re going to update the docs to include both variations (with group wrapper and without), that way it’s easy to grab the snippet of code a user/developer needs.
