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

Filters are not working when there is a space in the filtered parameter (not a single word) #91

Open
lkaroui opened this issue Jul 12, 2021 · 2 comments

Comments

@lkaroui
Copy link

lkaroui commented Jul 12, 2021

Describe the bug
Filter works only if the filtered parameter is a single word (without spaces) or if quotes are used:
[? manufacturer == "samsung"]
[? "OS name"== "android"]
filter-single-word
filter-with-space
filter-with-quote

To Reproduce
Steps to reproduce the behavior:

  1. Use a json with fields of more than one word example: { "OS name": "..", "OS version": ".."}
  2. Click on Transform and try to filter using the OS name field
  3. An Exception is thrown (see attached screenshot)
@mariohmol
Copy link
Owner

I think this is a bug at https://github.com/josdejong/jsoneditor ?

If u think its something on this wrapper, please let me know

@lkaroui
Copy link
Author

lkaroui commented Oct 27, 2021

Hi, yes I think it is related to this wrapper.

@mariohmol mariohmol reopened this Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants