Skip to content

Remote Functions: Return form response when calling submit in enhance #14082

@jjones315

Description

@jjones315

Describe the problem

When using the form function with submit getting the response from the form submission has to be accessed with formFunction.result within the enhance function.

Describe the proposed solution

Return the response from form when calling submit in enhance

Alternatives considered

Continue using the result property on the function definition.

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    formsStuff relating to forms and form actions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions