json-editor icon indicating copy to clipboard operation
json-editor copied to clipboard

enumsources filter is not working

Open RohitInd opened this issue 8 years ago • 2 comments

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.

RohitInd avatar Jan 12 '17 13:01 RohitInd

+1, does filtering work?

dzg avatar Mar 06 '19 12:03 dzg

Also don't work on my site.

gk-fschubert avatar Aug 17 '21 12:08 gk-fschubert