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

  • 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” ?

Hi @XavierColombel,

Hi @vince 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

Thanks for the defaultValue , it’s working !

Oh okey so in this case try to add

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

On the field where you want the text area :wink:

Wonderful :tada: Thanks @vince

3 Likes