Commit 33374e0b authored by Caleb Weeks's avatar Caleb Weeks

adding getPlainValue function to tag widget

parent 5c9beb5c
......@@ -79,6 +79,13 @@ module.exports={
vals.push({name: name + "@Delete", value:"true"});
vals.push({name: name + "@TypeHint", value:"String[]"});
return vals;
},
getPlainValue: function($el, name, $){
var vals=[];
$el.find(".chips .chip").each(function(idx,item){
vals.push({name: name, value: $.$(item).data("data").id});
})
return vals;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment