Skip to content
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

Create getSafeIdSelector and replace all Id selectors with it. #2747

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

BryanValverdeU
Copy link
Contributor

@BryanValverdeU BryanValverdeU commented Jul 16, 2024

In my previous change #2742 I updated an Id selector to use [id=''] instead of #id, to prevent some issues in Native Browser APIs. but it looks like more places in the repo require this change.

To have a single util for this created getSafeIdSelector, so if the id starts with number, - or _ use [id={}] selector instead of #id. and updated some places in the app to use this util.

@BryanValverdeU BryanValverdeU merged commit 9546b4e into master Jul 18, 2024
7 checks passed
juliaroldi pushed a commit that referenced this pull request Jul 18, 2024
@juliaroldi juliaroldi mentioned this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants