Open nprieto95 opened 6 years ago
Thanks for contacting us, @nprieto95. @kichalla, I was under the impression that even today this is possible, wasn't it?
@nprieto95 Could you share a standalone repro project that can represent the issue you are seeing?
Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.
@nprieto95 You can reopen this issue. The problem is very simple, the formaction attribute on button or input is not taken into account : http://plnkr.co/edit/lc82fluYOGguSHIeKJs2?p=preview When you click on the "Submit to another page" button, the formaction value ("another_action.html") should be called. It's not the case. The PR #36 corrects this.
@javiercn. can you please verify this and review the PR? Thanks!
Any progress on this? The PR #36 fixing the issue is literally just one line of code, if I understand.
Any progress on this? The PR #36 fixing the issue is literally just one line of code, if I understand.
We will celebrate soon the 1 year of this PR of one line of code. Too bad there was not 5 minutes in 1 year to merge this PR :cry:
@mkArtakMSFT, @javiercn, @ryanbrandenburg, ping!
Just wanted to add that fixing this would be a big help for my team
Just wanted to add that fixing this would be a big help for my team
I think you should update the line of code by yourself and not use the npm package anymore. You must just replace the line url: this.action
by url: clickTarget && clickTarget.attr('formaction') || this.action
.
Don't expect the pull request to be merged, we've been waiting for it a year and a half.
Just wanted to add that fixing this would be a big help for my team
I think you should update the line of code by yourself and not use the npm package anymore. You must just replace the line
url: this.action
byurl: clickTarget && clickTarget.attr('formaction') || this.action
. Don't expect the pull request to be merged, we've been waiting for it a year and a half.
Thanks, I did exactly that but thought it wouldn't hurt to at least mention it'd be useful
I now also added the support of the formmethod attribute in the PR #36.
That's insane, two years for one line of code :)
That's insane, two years for one line of code :)
Lol 😂
@mkArtakMSFT, @javiercn, @ryanbrandenburg, @terrajobst ping!
Let's celebrate the anniversary this July 26th
Let's celebrate the anniversary this July 26th
We are getting closer
@mkArtakMSFT, @javiercn, @ryanbrandenburg, @terrajobst ping!
Let's join, celebrate the anniversary, chit-chat, and get to know each other!
Alden Menz is inviting you to a scheduled Zoom meeting.
Topic: Celebrate ajax unobtrusive feature request anniversary Time: Jul 25, 2020, 02:00 PM Eastern Time (US and Canada)
Join Zoom Meeting https://us04web.zoom.us/j/74857196510?pwd=SmJoSWtJbjYrdlAwck5GamhDR1NFUT09
Meeting ID: 748 5719 6510 Password: 9PWJWg
@mkArtakMSFT, @javiercn, @ryanbrandenburg, @terrajobst ping! @DamianEdwards, @kichalla, @ajaybhargavb, @Eilon ping!
After five minutes it is :d let's join and have some fun
Tagging @Pilchie who is the current owner of this project. Unfortunately I don't work on this project anymore so I don't have much to add to this discussion.
@Pilchie, after two years of waiting, can you take 2 seconds (no need more) to merge the pull request #36. Thanks in advance.
Okay, Houston, we have a problem here !
Just wanted to add that fixing this would be a big help for my team
I think you should update the line of code by yourself and not use the npm package anymore. You must just replace the line
url: this.action
byurl: clickTarget && clickTarget.attr('formaction') || this.action
. Don't expect the pull request to be merged, we've been waiting for it a year and a half.
Thanks for the hint, I was heavily looking for it :D
@mkArtakMSFT, @javiercn, @ryanbrandenburg, @terrajobst ping!
I think its ridiculous that this simple 1 line of code fix cannot be be merged and published after 2+ years. Bueller?? Bueller?? Do we need to send some angry tweets?
IMPORTANT: This repository is in maintenance mode. We do not work, nor plan to work on any new features. Only security and critical bug fixes will be worked on.
I think it's a stupid thing. This little library is essential when you develop in ASP.Net Core, and it doesn't cost much to include one PR per year. I will have to offer another NPM package to support the formaction attribute :worried:
IMPORTANT: This repository is in maintenance mode. We do not work, nor plan to work on any new features. Only security and critical bug fixes will be worked on.
I think it's a stupid thing. This little library is essential when you develop in ASP.Net Core, and it doesn't cost much to include one PR per year. I will have to offer another NPM package to support the formaction attribute 😟
Yeah @mkArtakMSFT! 😡
This is an issue in support of the PR #36 . I hereby present a concrete case in which my personal experience with the product would improve if the functionality shown in that PR was merged.
Currently, when having a form like this one:
clicking on the "Preview" button causes a request to be isssued to /Management/Products/Edit/A001 instead of /Management/Products/Preview . The second case would be desired as that is the destination that would be hit if we were using synchronous, old-style forms without unobtrusive jquery-ajax support.
Supporting formaction natively would eliminate the need to sometimes come up with workarounds to use a library that is really good in every other aspect I had the chance to encounter.