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

Vulcanize mangles action attribute of non form tag #1850

Open
rslijp opened this issue Jan 12, 2016 · 2 comments
Open

Vulcanize mangles action attribute of non form tag #1850

rslijp opened this issue Jan 12, 2016 · 2 comments

Comments

@rslijp
Copy link

rslijp commented Jan 12, 2016

I made custom element that fires an event. The event name is assigned through an attribute named action.

<some-action-button action='event-name'/>

During vulcanizing the attribute is treated as an form action attribute and the original path is preserved. This is correct for form tags, but not for any other action attribute.

<some-action-button action='path-to-some-action-button/event-name'/>

I think also checking for the tag would be in order or add some sort of configuring.

@eddier
Copy link

eddier commented Feb 16, 2016

+1 for this. The action rewrite is causing issues in our process as well.

@aomarks aomarks transferred this issue from Polymer/polymer-bundler Jan 3, 2019
@stale
Copy link

stale bot commented Mar 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants