Why does ajaxPartial functionality not work with components partials?
Sample:
- I created my component, created /components/myComponent/default.htm:
{% ajaxPartial SELF ~ '::table' %}
- Next, i created /components/myComponent/table.htm:
<div
data-request="{{ SELF }}::onFetchItems"
data-request-update="{ _self: true }"
data-auto-submit>
</div>
And I get endless loop or errors over ‘_self’. Any ‘_self’ update of partial does not work. This can only work if I move component partial directory to /theme/default/partials directory.
Is it a bug or is there a way to properly update component partials?