Hi there,
Is it possible to add radio buttons to a smart action form?
Regards,
Dmytro
Hi there,
Is it possible to add radio buttons to a smart action form?
Regards,
Dmytro
Hi @Dmytro,
Thank you for reaching out with your concern.
On smart action forms you cannot natively add radio buttons.
However, a workaround could be to define a field as an enum, that way you’d have a single choice dropdown working more or less as a radio button.
Here’s an example:
actions: [{
name: 'Choose',
type: 'single',
fields: [{
field: 'choice',
isRequired: true,
type: 'Enum',
enums: ['choice 1', 'choice 2', 'choice 3']
}]
}]
And a link to our documentation with all fields settings available.
I hope this helps.