Hello guys!
I’m trying to figure out how to wire up the Smart action values function result to a field with an Enum field
This is my prototype:
{
name: 'Action header name',
type: 'single',
endpoint: 'forest/actions/smartactionname',
fields: [{
field: 'FieldName',
type: 'Enum',
enums: [],
isRequired: true,
},],
values: (context) => {
console.log(context.somedata)
return context.somedata
}
},
Is there a way to wire up the data to the field?
Thanks in advance.