Skip to content

feat: custom text buttons ion-select interface="modal" #30295

Open
@phyr0s

Description

@phyr0s

Prerequisites

Describe the Feature Request

I'm opening this issue to request the ability to customize the close button text for the ion-select component when using the "modal" interface. Currently, there is no working or documented method to change the default "Close" button text. Even when attempting to override the text with interfaceOptions (or similar properties such as cancelText), the text remains unchanged.

Steps to Reproduce:

Create an component with interface="modal".

Attempt to customize the close button text using interfaceOptions, for example:
<ion-select
interface="modal"
[interfaceOptions]="{ cancelText: 'Dismiss' }">

Notice that the close button still displays the default text ("Close").

I found a related discussion in issue #21155, which addresses similar limitations when using the alert interface, but there is currently no solution for the modal interface.

It would be highly beneficial for customization if a mechanism were implemented to override the default close button text in the modal interface of ion-select

Describe the Use Case

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions