-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(select): add close button text property #30282
base: main
Are you sure you want to change the base?
Conversation
Add a new property to customize the close button in the select when the interface is Modal.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for submitting the PR! Please create an issue for this. We'd like to understand the use case for this feature before we expose this API. Thanks! |
@@ -724,6 +724,7 @@ export class Select implements ComponentInterface { | |||
component: 'ion-select-modal', | |||
componentProps: { | |||
header: interfaceOptions.header, | |||
closeText: interfaceOptions.closeText, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cancelText: this.cancelText,
I consider better to use the existing property cancelText, instead of creating a new one, so we avoid having two properties for the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you @luisbytes. Thanks for letting me know.
I'll change it and push the changes today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done @luisbytes 😄
Issue number: resolves #30295
What is the new behavior?
Does this introduce a breaking change?