Skip to content

feat(select-modal): add cancel icon#31089

Merged
OS-susmitabhowmik merged 12 commits intonextfrom
ROU-12695-add-select-cancel-icon
Apr 20, 2026
Merged

feat(select-modal): add cancel icon#31089
OS-susmitabhowmik merged 12 commits intonextfrom
ROU-12695-add-select-cancel-icon

Conversation

@OS-susmitabhowmik
Copy link
Copy Markdown

@OS-susmitabhowmik OS-susmitabhowmik commented Apr 17, 2026

Issue number: resolves internal


What is the current behavior?

Currently the select modal only accepts a string for the Cancel action.

What is the new behavior?

This PR adds a boolean prop, cancelIcon to the IonSelect modal which defaults to false. When the cancelIcon prop is true, an X icon is added in place of the Cancel text.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview Links:

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 17, 2026

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

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Apr 20, 2026 5:20pm

Request Review

@github-actions github-actions Bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels Apr 17, 2026
@OS-susmitabhowmik OS-susmitabhowmik marked this pull request as ready for review April 17, 2026 22:10
@OS-susmitabhowmik OS-susmitabhowmik requested a review from a team as a code owner April 17, 2026 22:10
Copy link
Copy Markdown
Member

@ShaneK ShaneK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I had one minor suggestion/comment, but it's not blocking, so approving. Awesome work!

Comment thread core/src/components/select-modal/select-modal.tsx Outdated
@OS-susmitabhowmik OS-susmitabhowmik merged commit a81ced2 into next Apr 20, 2026
172 of 184 checks passed
@OS-susmitabhowmik OS-susmitabhowmik deleted the ROU-12695-add-select-cancel-icon branch April 20, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants