is it possible to display a dynamic list of enums as string in a smart action field?
Expected behavior
I have users that can have many accounts.
I create a single smart action for user records.
In the smart action field, I would like to display the list of the accounts’ names depending on the user record.
To do so, I would need to set a dynamic enums property in the definition of the smart action.
const mySmartAction = {
name: 'MAJ',
type: 'single',
fields: [
{
field: 'Structure',
description: "my description",
type: 'Enum',
enums: <SHOULD BE DYNAMIC>
reference: ???, // should we use reference?
isRequired: true
}
]
}
Is the feature released?