Response: (which does seem a bit odd with a the )]}', prefix !)
)]}', [{"key":"0-553-21311-3","label":"Moby Dick"},{"key":"0-395-19395-8","label":"The Lord of the Rings"}]
(BTW, for testing I'm using an Umbraco node with a textbox multiple for the JSON, and a template to render that JSON out, then using that internal url)
Can't make JsonDropdownPicker give any output
Just to play around and to learn the nuPickers I was toying around with these examples.
http://goessner.net/articles/JsonPath/index.html#e3
But I can't really get them to work. This gives me zero output:
But if I test it here (http://jsonpath.com) it works perfectly.
Am I doing something wrong or is there a logical explanation ? I'm using 'isbn' as key and 'title' as label.
Hi Sebastian,
Thanks for the feedback, I've just tried creating a Json DropDownPicker using the JSON:
with the following configuration values:
and I get a drop down with two books: Moby Dick and The Lord of the Rings (the two books that isbn numbers)
Can you see the AJAX call the drop down uses to get it's data ?
Request Payload:
Response: (which does seem a bit odd with a the )]}', prefix !)
(BTW, for testing I'm using an Umbraco node with a textbox multiple for the JSON, and a template to render that JSON out, then using that internal url)
Thanks, Hendy
I can see that I'm way behind on the updates :) That's probably my problem.
Hi Hendy.
I've upgraded to latest version of nuPickers.
I can make the bookstore example work, but when I change to another JSON source it goes haywire. The new source validates as valid JSON.
I have no idea what I', doing wrong here.
JSON: https://www.dropbox.com/s/bfw8sgb6yhhl44z/categories.json?dl=0
JSONpath: $..translations[?(@.source_type)]
key: id
value: title
Hi Sebastian,
Just tried with that JSON (using locally served) and the new configuration values, and I get a drop down with the options:
Do you see any response from the AJAX call ? (I'm guessing here, but I wonder if it has anything to do with the ~/ prefix)
Is there anything in the error log ?
Thanks, Hendy
is working on a reply...