(this is really blocking our business operations, the behavior is the same accross all smart actions using a field with type [Enum]).
Expected behavior
Example with a specific action, this behavior is the same accross all smart actions using a field with type [Enum].
I have a Smart action called ‘ Initialize payment’.
with fields:
“fields”: [{
“field”: “Billing Entity”,
“type”: [“Enum”],
“default_value”: null,
“enums”: null,
“is_required”: true,
“reference”: null,
“description”: “Please keep only 1 billing entity from the list below”,
“position”: 0,
“widget”: null
}, {
“field”: “Payment Mean”,
“type”: [“Enum”],
“default_value”: null,
“enums”: null,
“is_required”: true,
“reference”: null,
“description”: “Please keep only 1 payment mean from the list below”,
“position”: 1,
“widget”: null
}]
I have a route post ‘actions/initialize-payment/values’ => ‘payments#initialize_payment_values’
This method returns an array like:
{:“Billing Entity”=>[[“Okarito FRANCE SAS”, 1], [“Okarito Italia SA”, 384]],
:“Payment Mean”=>[“Okarito bank account #2”, 208]}
We expect these values to show in the UI, in the fields of the action.
Actual behavior
Since today, these values don’t show (only an empty dropdown) - staging and production.
Failure Logs
No relevant log.
Context
We tested with versions 5.2 and 3.3. Rails liana.