json-editor
json-editor copied to clipboard
enumsources filter is not working
I tried using enumsources filter option as mention in Readme.md. But it seen not working. -------------- my json have ------------- enumSource: [{ "source": [ { "value": 1, "title": "One" }, { "value": 2, "title": "Two" } ], filter: "{% if {{item.title}} == 'One' %}1{% endif %}", "title": "{{item.title}}", "value": "{{item.value}}" }]
But in option I can still see option "Two" available to select. If I am wrong please let me know what is wrong here.
+1, does filtering work?
Also don't work on my site.