Autoform: bug with array of tags embedded inside an array field?

Note: I’m using vazco:universe-autoform-select

I have an array of tags inside an array.

Every time I add a new item, the array of tags from the previous item is cleared. It’s not just in the UI, the tags are not registered at all and completely gone from the model.

So if I add 7 items, I have to go back and add the tags for all 7 items before submitting the document. This is obviously not acceptable from a usability standpoint.

I thought this was universe-select:

http://stackoverflow.com/questions/35512687/universe-autoform-select-on-meteor-reset-on-blur

but I’m wondering if it’s just autoform:

here is my reproduction code:

aldeed:collection2
meteortoys:allthings
aldeed:autoform
matb33:bootstrap-glyphicons
fortawesome:fontawesome
less
twbs:bootstrap
vazco:universe-autoform-select

``

<head>
<title>universe-test</title>
</head>

<body>

{{> AddProduct}}

</body>


<template name="AddProduct">

    <div class="container">


        {{#autoForm id="AddProduct" collection="Products"  type="insert"}}
            <fieldset>
                {{> afQuickField name="tags"}}
            </fieldset>
            <button type="submit" class="btn btn-primary">Insert</button>
        {{/autoForm}}


    </div>


</template>

``

Schemas = {};




Schemas.Tags = new SimpleSchema({
    innerTags: {
        type: [String],
        autoform: {
            type: "universe-select",
            options: function(){
                var options = [

                    {label: '1', value: '1'},
                    {label: '2', value: '2'},
                    {label: '3', value: '3'},
                ];

                return options

            },
            afFieldInput: {
                multiple: true,


            }
        }
    }
});





Schemas.Product = new SimpleSchema({
    tags: {
        type: [Schemas.Tags],
    }
});

Products = new Mongo.Collection("products");

Products.attachSchema(Schemas.Product);


Products.allow({
    insert: function () { return true; },
    update: function () { return true; },
    remove: function () { return true; }
});

It seems to work with the selectize package so I guess it’s an issue with the universe-select package?

Schemas = {};




Schemas.Tags = new SimpleSchema({
    innerTags: {
            type: [String],
            autoform: {
                type: "selectize",
                afFieldInput: {
                    multiple: true,
                    options: function () {
                        return [
                            {label: "2013", value: 2013},
                            {label: "2014", value: 2014},
                            {label: "2015", value: 2015}
                        ];
                    }
            }
        }
    }
});





Schemas.Product = new SimpleSchema({
    tags: {
        type: [Schemas.Tags],
    }
});

Products = new Mongo.Collection("products");

Products.attachSchema(Schemas.Product);


Products.allow({
    insert: function () { return true; },
    update: function () { return true; },
    remove: function () { return true; }
});

‘’

aldeed:collection2
meteortoys:allthings
aldeed:autoform
matb33:bootstrap-glyphicons
fortawesome:fontawesome
less
twbs:bootstrap

#vazco:universe-autoform-select

jeremy:selectize
comerc:autoform-selectize
chhib:selectize-bootstrap-3