-
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” ?
1 Like
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)
-
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
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
Wonderful Thanks @vince
3 Likes