• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Submitting multiple selected values from store for tagfield to i5

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Submitting multiple selected values from store for tagfield to i5

    I see that tagfield has replaced combobox multiselect at extjs6. I'm not clear on how I get the form field to submit as an array. When I test now, I see same field submitted 3 times if I choose 3 values. Is it as simple making itemId and/or name have brackets? ie name: 'myname[]"?

  • #2
    It looks like adding config encodeSubmitValue: true does the trick. Haven't tried to process on i5 side yet though. I'm a little concerned because values are enclosed in double quotes. Looks like IHBODY: ["B01","B02",B03"] in the JSON. But worst case I can parse those out. But let me know if there is a better way to do this.

    Comment

    Working...
    X