Skip to content

fix(select): set modal interface cancel button to "Okay" by default#31197

Open
thetaPC wants to merge 2 commits into
mainfrom
select-modal-cancel
Open

fix(select): set modal interface cancel button to "Okay" by default#31197
thetaPC wants to merge 2 commits into
mainfrom
select-modal-cancel

Conversation

@thetaPC
Copy link
Copy Markdown
Contributor

@thetaPC thetaPC commented Jun 5, 2026

Issue number: N/A


What is the current behavior?

The select modal commits each option the moment it's tapped, so there's nothing to cancel. A "Cancel" button is misleading because it implies the selection can be undone, when in fact the change has already taken effect. The button should use wording that reflects that it simply closes the modal.

What is the new behavior?

  • Changed the cancel text to be more appropriate.
  • Updated snapshots

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

  • Select: basic

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Jun 5, 2026 11:14pm

Request Review

@thetaPC thetaPC marked this pull request as ready for review June 5, 2026 23:22
@thetaPC thetaPC requested a review from a team as a code owner June 5, 2026 23:22
@thetaPC thetaPC requested a review from brandyscarney June 5, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant