# Smart Actions and input values : TextArea + default value in select

**URL:** https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402
**Category:** Help me!
**Created:** [June 3, 2020, 2:36pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402 "2020-06-03T14:36:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)
#### Post date: [June 3, 2020, 2:36pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402/1 "2020-06-03T14:36:55Z")

</div>

- Is there a way to show a textarea instead a input ?

- Is there a way to set a default value to a select instead “Select a value” ?

---

<div class="post-metadata">

### Author: ![anon62739609](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon62739609](https://community.forestadmin.com/u/anon62739609)
#### Post date: [June 3, 2020, 3:13pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402/2 "2020-06-03T15:13:25Z")

</div>

Hi @XavierColombel,

- If you go to the Field Settings, in the Edit Settings there is a text area 😉 ([https://docs.forestadmin.com/documentation/reference-guide/fields/customize-your-fields/edit-widgets#textarea](https://docs.forestadmin.com/documentation/reference-guide/fields/customize-your-fields/edit-widgets#textarea))

- For the select why would you want that while you can just use the defaultValue of sequelize. It will be used by the front too if it’s a simple value

---

<div class="post-metadata">

### Author: ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)
#### Post date: [June 3, 2020, 4:07pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402/3 "2020-06-03T16:07:28Z")

</div>

Hi @anon62739609 sorry but I talked about Smart Actions, not Widgets. Here is the docs : [https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions#handling-input-values](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions#handling-input-values)

Thanks for the **defaultValue** , it’s working !

---

<div class="post-metadata">

### Author: ![anon62739609](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon62739609](https://community.forestadmin.com/u/anon62739609)
#### Post date: [June 3, 2020, 4:55pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402/4 "2020-06-03T16:55:19Z")

</div>

Oh okey so in this case try to add

```javascript
actions:[{
  ...,
  fields: [{
    ...,
    widget: 'text area',
  }],
}],

```

On the field where you want the `text area` 😉

---

<div class="post-metadata">

### Author: ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)
#### Post date: [June 3, 2020, 6:41pm UTC](https://community.forestadmin.com/t/smart-actions-and-input-values-textarea-default-value-in-select/402/5 "2020-06-03T18:41:00Z")

</div>

> [@anon62739609](#):
>
> `widget: 'text area'`

Wonderful 🎉 Thanks @anon62739609
