Skip to content

Set default text button for all SweetAlert in project #1014

@hero70411

Description

@hero70411

My project using many sweetAlert. Now i changed my project to multi-language project. So i need to change text button of SWAL on everywhere. Iam using this but it's not working. Can u guys help me ?

swal.setDefaults({
buttons: {
cancel: LANG.cancel,
confirm: LANG.ok
}
});

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