-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live editing mode not working for blocklist and blockgrid #17274
Comments
Hi there @kasparboelkjeldsen! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
@iOvergaard @nielslyngsoe sorry but this still seems to be an issue in rc3. this.consumeContext(UMB_PROPERTY_CONTEXT, (propertyContext) => {
this.observe(propertyContext.value, (value) => {
console.log('this should fire when I make a live change?')
});
});
....
this.consumeContext(UMB_BLOCK_ENTRY_CONTEXT, async (context) => {
context.contentValues().then(async (blockContent) => {
this.observe(blockContent, async (content) => {
console.log('this should change when I edit my block no?')
});
});
});
```
These only fire after I hit the submit button on the blockgrid modal |
Hi @kasparboelkjeldsen Thanks for reporting, I can also confirm that it does not work in 15.next. |
This may be the same / similar issue: I just noticed that listening for settingsValues() changes never fires either in 15.0.0:
|
Fixed by: #17578 |
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
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
The text was updated successfully, but these errors were encountered: