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

BUG: data get's lost when processed thru Neos.Fusion.Form:Runtime.RuntimeForm outside Form content #87

Open
1 task done
mauricenaef opened this issue Jul 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mauricenaef
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When data properties are used inside header or footer part of the form, the Neos.Fusion.Form:Runtime.RuntimeForm strips it's values when form is validated / processed.

Expected Behavior

The data should be keept intact if for instance the form has a custom footer button and code which should persist a form validation / reload.

Steps To Reproduce

  1. create a form inside Neos.Fusion.Form:Runtime.RuntimeForm
  2. add some non empty field validation
  3. overwrite its footer content with defined data properties like custom submit button
  4. submit empty form on the front end with validation
  5. on processing the data properties are lost

Environment

- Flow: 8.3 
- Neos: 8.3
- PHP: 8.1

Anything else?

All data properties passed inside the form content withstand the issue and are working properly.

@mauricenaef mauricenaef added the bug Something isn't working label Jul 10, 2023
@mauricenaef mauricenaef changed the title BUG: data get's lost when processed thru Neos.Fusion.Form:Runtime.RuntimeForm outside Form content BUG: data get's lost when processed thru Neos.Fusion.Form:Runtime.RuntimeForm outside Form content Jul 11, 2023
@mauricenaef mauricenaef changed the title BUG: data get's lost when processed thru Neos.Fusion.Form:Runtime.RuntimeForm outside Form content BUG: data get's lost when processed thru Neos.Fusion.Form:Runtime.RuntimeForm outside Form content Jul 11, 2023
@mhsdesign mhsdesign transferred this issue from neos/neos-development-collection Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant