Hi, I'm trying to don't display the input document in a document-suggestion component, using the [[document.uid]] property inside the query in the Repository.Query operation, but nuxeo doesn't receive this uid.
This is my code:
<nuxeo-document-suggestion operation="Document.Query"
input = "[[document]]"
params='{"query": "SELECT * FROM Item WHERE ecm:uuid != '[[document.uid]]'"}'
label="[[i18n('label.relation.pickDocument')]]"
value="{{path}}"
min-chars="0"
result-formatter="[[myFormatter]]"
selected-item="{{toDoc}}">
</nuxeo-document-suggestion>
If I insert the code instead of the document property the query works and the input document doesn't display.
Furthermore, if I show [[document.uid]] in a normal div, nuxeo receive the id correctly.