Skip to content

Radio Buttons action text is hard coded. #14

@a4armaan

Description

@a4armaan

For the Radio Buttons action text is hard coded in index.js at line no 435.

button: 'Select a product',

let samples = {
           messaging_product: 'whatsapp',
           recipient_type: 'individual',
           to: recipientPhone,
           type: 'interactive',
           interactive: {
               type: 'list',
               header: {
                   type: 'text',
                   text: headerText,
               },
               body: {
                   text: bodyText,
               },
               footer: {
                   text: footerText,
               },
               action: {
                   button: 'Select a product',
                   sections: validSections,
               },
           },
       };

But this can be anything. Can you please provide an option to use custom text instead fixed text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions