Skip to content

Cannot adjust modal confirmation dialogue text or button text #24

@stardothosting

Description

@stardothosting

According to the Nova v3 docs regarding Action modal customization, you should be able to customize the confirmation text and confirm button / cancel button in the modal dialogue that comes up.

I notice with this package , attempting this customization has no effect. I was curious if it was possible to allow this type of customization that is normally available in a Nova action?

Code in question that has no effect :

public function actions(Request $request)
{
    return [
        (new Actions\ActivateUser)
            ->confirmText('Are you sure you want to activate this user?')
            ->confirmButtonText('Activate')
            ->cancelButtonText("Don't activate"),
    ];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions