Skip to content

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

Description

@laurens-ritense
No description provided.

Activity

  1. deleted a comment from lane-formio on Nov 20, 2024
  2. ZenMasterJacob20011 commented on Nov 27, 2024

    @ZenMasterJacob20011
    Contributor

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

  3. laurens-ritense commented on Nov 29, 2024

    @laurens-ritense
    Author

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

  4. laurens-ritense commented on Nov 29, 2024

    @laurens-ritense
    Author

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

  5. ZenMasterJacob20011 commented on Dec 2, 2024

    @ZenMasterJacob20011
    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

  6. laurens-ritense commented on Dec 2, 2024

    @laurens-ritense
    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?

  7. ZenMasterJacob20011 commented on Dec 4, 2024

    @ZenMasterJacob20011
    Contributor

    No, this issue currently is not a priority for are development cycle. However any pull requests that add the form event are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions