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

Fix polymorphic association field with namespaced models #3262

Closed
wants to merge 1 commit into from

Conversation

dalpo
Copy link
Contributor

@dalpo dalpo commented Mar 18, 2020

The current code is generating invalid jQuery selectors for models with
a namespace.

For instance a model Users::Account will generate a #users::account-js-options DOM ID into the polymorphic association field template, causing an invalid jQuery selectors and breaking the related javascript code.

The current code is generating invalid jQuery selectors for models with
a namespace.

For instance a model `Users::Account` will generate a
`#users::account-js-options` DOM ID into the polymorphic
association field template, causing an invalid jQuery selectors and
breaking the related javascript code.
@mshibuya
Copy link
Member

Closing in favor of #3377.

@mshibuya mshibuya closed this Aug 18, 2021
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.

None yet

2 participants