Composer Autocomplete and asynchronus replace

NodeBB Plugins
  • Hi,

    I'm writing a plugin that uses the composer:autocomplete:init event within client side javascript code. I have a problem within the replace functor. It seems that it doesn't support a callback mechanism to allow asynchronous jsonp calls to be made within the replace functor. I need to do a further REST request on the selected data which can only be achieved by doing a jsonp request. Is there another way to achieve the replace functionality in an asynchronous fashion?


  • We use, I don't think it supports async calls in the replace function. You might have to find another way to load that data and use it in the replace function.

Suggested Topics

| | | |