Content Completion - Multi Values Select for Allowed Values to an Attribute
Posted: Thu Sep 25, 2025 2:16 am
Hi,
Following the instructions in this article - https://www.oxygenxml.com/doc/versions/ ... osals.html
<valueProposals path="@type" editable="onlyAllowedItems">
<items>
<item value="stanza" listValue="true"/>
<item value="refrain" listValue="true"/>
</items>
</valueProposals>
Per the article, The <item> element can have a @listValue attribute, which can be set to true if you want those items to be part of a list attribute value (such as attr="item1 item2").
The content completion works as expected in text, but in author mode attributes window/popup, it allows only single select of the value. How can I have content completion where in the Author mode, I can have a controlled list, but it allows multi-selection of values with space as delimiter?
Following the instructions in this article - https://www.oxygenxml.com/doc/versions/ ... osals.html
<valueProposals path="@type" editable="onlyAllowedItems">
<items>
<item value="stanza" listValue="true"/>
<item value="refrain" listValue="true"/>
</items>
</valueProposals>
Per the article, The <item> element can have a @listValue attribute, which can be set to true if you want those items to be part of a list attribute value (such as attr="item1 item2").
The content completion works as expected in text, but in author mode attributes window/popup, it allows only single select of the value. How can I have content completion where in the Author mode, I can have a controlled list, but it allows multi-selection of values with space as delimiter?