Skip to content

Live editing mode not working for blocklist and blockgrid #17274

@kasparboelkjeldsen

Description

@kasparboelkjeldsen

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.0-rc1

Bug summary

Making a change in the editor for a blocklist or blockgrid block, does not trigger UMB_PROPERTY_CONTEXT or UMB_BLOCK_ENTRY_CONTEXT and no change is observed until you hit the Update button, even though Live editing mode is enabled for the datatype.

Specifics

This works in v14

this.consumeContext(UMB_BLOCK_GRID_ENTRY_CONTEXT, (context) => {
      context.contentValues().then((content) => {
        this.observe(content, (content) => {
          console.log('content', content);
        });
      });
    });

I would expect this console.log to get hit when making a change (ie. writing a piece of text in a textbox or what have you) when editing a block. But nothing happens until you hit the update button.

Steps to reproduce

Create a custom view for a blockgrid or list, and consume contexts like in the example above.

Expected result / actual result

I would expect, observing either all the content in a block, or the value of the entiry property that -something- should update when I make a change, after having enabled live editing.


This item has been added to our backlog AB#45805

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions