Title: Tagbox + serialize duplicate field e values Post by: thiago_brum on October 01, 2018, 12:50:29 PM If I use serialize to get the values of my form, the tagboxs get the field e value duplicate.
Ex: console.log($('#cod_familia_item').combobox('getValues')); // output: "C,L,F" $('#form_tabela').submit(function(e){ e.preventDefault(); console.log($(this).serialize()); // output: "cod_familia_item=C&cod_familia_item=L&cod_familia_item=F" ... how can I get the result of serialize like this "cod_familia_item=C,L,F"? Title: Re: Tagbox + serialize duplicate field e values Post by: jarry on October 02, 2018, 06:51:14 AM Please set the 'multivalue' property to false.
Title: Re: Tagbox + serialize duplicate field e values Post by: thiago_brum on October 02, 2018, 07:42:39 AM Thanks!!!! ;)
|