-
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
fix(alert): do not overwrite id set in htmlAttributes #29708
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Oops. My commit message is bad here. Should just say something like "eslint fix". I didn't realize doing that also changed other things besides adding the semicolon at first
@mikelhamer the individual commit messages will not matter here 👍 the Ionic Framework repository uses squash commits and uses the PR subject line as the title and the body of the PR as the message. |
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.
The proposed changes function as expected in my testing. Thank you for your contribution to Ionic Framework!
For the dev team: This issue applies to more than the ion-alert
. I think to deliver value/resolve the issue experienced by Mikel we could merge this and split the original issue to track the other overlays impacted. Then the dev team could either address those or the community could assist in fixing the remaining overlays.
Thank you! I'd be glad to help with the remaining overlays once the original issue has been split. |
Issue number: resolves #29704
What is the current behavior?
Setting the id of an alert via htmlAttributes doesn't work due to it being overwritten by the overlay id.
What is the new behavior?
Setting the id of an alert via htmlAttributes works.
Does this introduce a breaking change?
Other information
First time PR, long time fan. Please let me know if I missed any of the contributing guidelines, happy to change anything!