Tags in blueprint : how to query when multiple tags enabled?

Hey!

I’m trying to put a tags field where user has auto-completion with already typed tags in other content.

At the moment, I have this :

          customer:
            label: Pour le compte de ce client
            type: tags
            max: 3
            required: true
            icon: none 
            options:
              type: query
              query: site.find("references").children
              text: "{{page.customer}}"
              value: "{{page.customer}}"

It almost work unless user puts more than one entry there. Then I get in autocompletion multiple elements seperated by a comma instead of each individuals one.

Here’s an example, user enters two elements. That’s looking good :

But then I get into another page and try to enter a tag and here’s the suggestion I get :

When it’d be better to have each of the two separated.

How would you recommend to proceed please?

The query should be site.find("references").children.pluck('customer', ',', true). Then remove the text/value part.

Thank you so much! working perfectly :pray: