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

[Form Validation] Associative arrays as field names doesn't work properly #4163

Closed
mzygmunt opened this issue Jun 24, 2016 · 3 comments
Closed
Milestone

Comments

@mzygmunt
Copy link

Field names like "test[]" works fine, but names like "test[en]" doesn't work. In this case Form Validation returns simple string "test[en]" instead of array.

@jlukic
Copy link
Member

jlukic commented Jun 26, 2016

Thanks a lot for filing this issue, and including an easy to understand test case. I've added a milestone, and will try to take a look as soon as I can.

@jlukic
Copy link
Member

jlukic commented Feb 21, 2017

I've fixed this, but by going a slightly different direction. The main reason it was failing with associative arrays was it was attempting to find an id tag first using an invalid value, which I now check for 6e88af1

Fixed in 2.2.8

Thanks @mzygmunt for your patience, as I know this was not dealt with promptly.

@jlukic jlukic closed this as completed Feb 21, 2017
jlukic added a commit that referenced this issue Feb 21, 2017
@jlukic
Copy link
Member

jlukic commented Feb 21, 2017

I've gone a slightly more generic route this also solves using identifiers with escaped string values like identifier: 'value\'something\''

jlukic added a commit that referenced this issue Feb 21, 2017
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

2 participants