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

Page logic do functions - automatically detect which form has submitted #653

Open
g105b opened this issue Jan 28, 2025 · 1 comment
Open
Labels

Comments

@g105b
Copy link
Member

g105b commented Jan 28, 2025

When there's a form within a component, a hidden element should be automatically added that stores the name of the component, so when the do functions are pressed, only the do function within the clicked component is triggered.

This resolves a bug where two components can have a do_delete function, but it is unclear which component's function to execute.

@g105b g105b added the bug label Jan 28, 2025
@g105b
Copy link
Member Author

g105b commented Jan 28, 2025

Related: PhpGt/DomTemplate#499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant