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

server side error when file field inside group #92

Closed
pwkip opened this issue Jun 20, 2022 · 2 comments
Closed

server side error when file field inside group #92

pwkip opened this issue Jun 20, 2022 · 2 comments

Comments

@pwkip
Copy link
Owner

pwkip commented Jun 20, 2022

there is a bug when a file field is inside a hidden group.

This will not work (throws 500 ERROR server side):

[text a]
[group g]
  [file file-2]
[/group]
[submit]

Temporary workaround for now:

Change file fields inside groups to required file fields, like this:

[text a]
[group g]
  [file* file-2]
[/group]
[submit]

Then it will work.

@pwkip pwkip added the bug label Jun 20, 2022
@pwkip pwkip added the priority label Aug 15, 2022
@pwkip
Copy link
Owner Author

pwkip commented Sep 6, 2022

Additional problem when file field inside nested repeater.

Required file field is not marked as invalid when empty if it's inside a nested repeater.

@pwkip
Copy link
Owner Author

pwkip commented Sep 8, 2022

both issues fixed in version 2.2.6

@pwkip pwkip closed this as completed Sep 8, 2022
pwkip added a commit that referenced this issue Sep 8, 2022
* PRO: Fix issues with validation in nested repeaters [GH issue 92](#92)
* Fix error with optional file field in hidden group [GH issue 92](#92)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant