combo load json format

What is the format that should be returned when loading new options for a combo component?

https://snippet.webix.com/j8q7kpkr

  • how to force a Content-Type: application/json request?
  • returning [{id:'3',value:'3'},{id:'4',value:'4'}] is not working
Tagged:

Comments

  • bump

  • how to force a Content-Type: application/json request?

    it is done by default setting Content-Type header to application/json

    returning [{id:'3',value:'3'},{id:'4',value:'4'}] is not working

    do you receive any error?
    in this snippet it works as expected
    https://snippet.webix.com/zxakt30p
    pay attention to double quotes

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion