Select2 Tagging issue.

Select2 Tagging issue.

kaustubh.agrawal2000kaustubh.agrawal2000 Posts: 88Questions: 39Answers: 2

Hi Allan,

I am trying to use Select2 plugin with Tagging enabled.

Although it works correctly, but I am facing 1 issue in editing

When i try and edit a record, the tags/select options are not pre populated in the select box.. and when I try and update the data manually it shows all the tags as selectable options and not tags..

Kindly please help me with this.

website : http://gadhiya.in
Uname : kaustubh.agrawal2012@gmail.com
Pwd : 12345678

goto: http://gadhiya.in/commoditytransactionfield

try editing the last row .. with Commodity name as "Soyabean"

the JS file path is
http://gadhiya.in/web/js/commodity_transaction_field.js

the API response can be checked here
http://gadhiya.in/api/commoditytransactionfield

The response has "select_options" as
select_options: [
"Spot",
"Delivery"
],

but they are not shown as tags .. but select options.

Regards
Kaustubh

This discussion has been closed.