Expected behavior
I want to set dynamically the enums array of a field in a smart action. That means that this list will change depending on the record or the related record selected.
Actual behavior
I must pass a fix enums array to the field enums property:
ex:
{
name: 'Ajouter un document',
type: 'single',
fields: [{
field: 'Type du document',
enums: ['type1', 'type2'],
type: 'Enum'
}]
}