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

Display logic fails if a field name has a period #122

Open
GuySartorelli opened this issue Oct 22, 2020 · 0 comments
Open

Display logic fails if a field name has a period #122

GuySartorelli opened this issue Oct 22, 2020 · 0 comments

Comments

@GuySartorelli
Copy link

GuySartorelli commented Oct 22, 2020

If a form field name has a period in it, display logic fails with the following error:
"Syntax error, unrecognized expression: [name=field.name]"
(in the above, for demonstration purposes, "field.name" was the name of my field)

[name=${name}] should be [name="${name}"] to allow meta-characters in field names.

Note that it's understandable if it's considered not worth fixing the failure of the individual field, since it is technically an invalid selector... but this causes display-logic for the entire form to fail, not just for the one field with an invalid selector.

@michalkleiner michalkleiner changed the title DIsplay logic fails if a field name has a period Display logic fails if a field name has a period Feb 15, 2023
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