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

[Question] Why no hooks except for beforeSubmit even though they are in the docs and in @formio/js? #1107

Open
laurens-ritense opened this issue Nov 8, 2024 · 5 comments
Assignees
Labels

Comments

@laurens-ritense
Copy link

No description provided.

@ZenMasterJacob20011
Copy link
Contributor

Is the question that only the beforeSubmit hook is working in angular? Is beforeNext, beforePrev, customValidation hooks not working in angular?

@laurens-ritense
Copy link
Author

I looked at the source code a bit and I don't even see them ever being implemented in the Angular version.

@laurens-ritense
Copy link
Author

And my question is why? Shouldn't that functionality also be ported over from formiojs?

@ZenMasterJacob20011
Copy link
Contributor

We should have these hooks added to formio in angular. We are happy to accept pull requests that add this behavior. If you need to add some behavior after the submit button is pressed we have some documentation on how to listen for events emitted by the form https://help.form.io/developers/form-development/form-renderer#form-events

@laurens-ritense
Copy link
Author

The problem is that that list is not up to date because a lot of those form events are not implemented in the angular library like for example the nextPage event. So are these going to be implemented?

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

3 participants