Space characters in the options of <nuxeo-select>

I want to use space characters in the options of

<nuxeo-select
    role="widget"
    label="[[i18n('label.longsoft.category')]]"
    name="category"
    options=[["Free offer"],["Finace plan"],["Other document"]]
    selected="Other_document"
    value="{{document.properties.dtc:category}}"
    required>
</nuxeo-select>

But the browser can't display the options. In the browser development tools I see an “Incomplete JSON array” message and the JSON ends after the first space character. Is there a special way to insert spaces?

Thanks Ralf

0 votes

0 answers

1377 views

ANSWER