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#11814: Support DefaultCommand for submit button outside (but linked to) form #11878

Closed
wants to merge 4 commits into from

Conversation

BjornJaspers
Copy link
Contributor

@BjornJaspers BjornJaspers commented May 5, 2024

Fix #11814

This is how I thought about fixing this, but of course I'm open for discussion.

…port submit buttons that are placed outside (but linked to) the form
@melloware
Copy link
Member

This actually looks really reasonable to me.

@melloware melloware requested a review from tandraschko May 6, 2024 16:44
@tandraschko
Copy link
Member

what about normal button, linkbutton or commandlink?

@BjornJaspers
Copy link
Contributor Author

what about normal button, linkbutton or commandlink?

I updated the implementation to support commandlink. Referencing a form in a normal button and linkbutton doesn't seem to be supported however.

@melloware
Copy link
Member

Agreed this would only work from CommandXXX types thanks for adding CommandLink

@tandraschko
Copy link
Member

+1 then

@melloware melloware changed the base branch from 13.X to 14.X May 21, 2024 19:50
@melloware melloware changed the base branch from 14.X to master May 21, 2024 19:50
@melloware melloware changed the base branch from master to 13.X May 21, 2024 19:50
@melloware
Copy link
Member

melloware commented May 21, 2024

@BjornJaspers unfortunately this fix cannot be merged in the 13.X branch that you have it marked for. Can you resubmit this under branch master and leave it up to us to backport to 14.X. 13.X is now under LTS by PrimeTek so only PRO users will receive fixes on 13.X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DefaultCommand: Not working for button outside (but linked to) form
3 participants