Plone getVocabulary and getSource return an AJAX response that looks like:
{"results": [{"id": ..., "text": ...}], "total": 3}
Currently pat-autosuggest wants something in the form:
[{"id": ..., "text": ...}]
It would be nice if it could work with the Plone Json as well.
If this is too hard to implement please feel free to close this issue.
Plone
getVocabularyandgetSourcereturn an AJAX response that looks like:{"results": [{"id": ..., "text": ...}], "total": 3}Currently
pat-autosuggestwants something in the form:[{"id": ..., "text": ...}]It would be nice if it could work with the Plone Json as well.
If this is too hard to implement please feel free to close this issue.