dnadesign / silverstripe-elemental-virtual

Allows Content Blocks to be reused between pages.
BSD 3-Clause "New" or "Revised" License
7 stars 26 forks source link

Disabling lazyloading breaks storing selected page #60

Open silverstripesk opened 8 months ago

silverstripesk commented 8 months ago

If I disable lazy loading, selected virtual element will not be stored.

$fields->dataFieldByName('LinkedElementID')->setShouldLazyLoad(false);

This is not working in Inline editing interface only.

wilr commented 8 months ago

@silverstripesk I would say the root cause is somewhere in the Tagfield module rather than this one?

silverstripesk commented 8 months ago

Tagfield works pretty well with lazyloading ON/OFF in standard CMS editing, only inline editing breaks this. I think, that Tagfield has nothing to do with inline editing feature...?