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
[Fix] Block editor labels showing Angular JS on first load. #14143
Conversation
…kObject.config.label
Hi there @dKumarmj, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
src/Umbraco.Web.UI.Client/src/common/services/blockeditormodelobject.service.js
Outdated
Show resolved
Hide resolved
Thanks @dKumarmj, I think
I'd love to give it another test after you make those changes, should be quick to merge then! 👍 |
@nul800sebastiaan > I think that The latest change on this PR effectually just reverts the change made in the former PR #13937 that broke it in the first place. Personally, I think this is the best we can do, since a computed label does not make sense before you enter any value in the item anyway, so I would recommend that we simply merge this current PR and pick it for v10 and v11. What do you think? P.S. We'll try and see how we can improve on this in the new backoffice where we are not subject to the limitations of AngularJS's interpolator 😢 |
@iOvergaard Sounds good to me! That said, I can't for the life of me reproduce the originally reported behavior reported so I am not sure if maybe something else was also fixed along the way. I'll comment on the other issue as well. Thanks very much @dKumarmj for the help and your flexibility here! #h5yr 👍 |
Co-authored-by: Dhanesh Kumar <“dhanesh.kumar@phases.io”> (cherry picked from commit 58695b6)
Co-authored-by: Dhanesh Kumar <“dhanesh.kumar@phases.io”> (cherry picked from commit 58695b6)
Hi, this issue should be re-opened. This is still occurring in Umbraco 11.4.0 |
This is happening in Umbraco Cloud 10.5.1 |
@marcloveUSN I just had a look around. Unfortunately, it seems something has gone wrong with the merge and this fix was never included in 11.4.0. I have retagged this to 11.4.1, which is slated for release later this week. We are very sorry about the confusion and frustration this might have caused. |
@Chris-Barber Thanks for testing this. The fix for the version 10 series of Umbraco will be available with version 10.6.0 which is slated for release in the beginning of July. |
@iOvergaard thanks for the update. Glad to hear its now resolved. |
Prerequisites
Reported issue #14105
Description
old code
new code
Replace
blockObject.config.label
withblockObject.labelInterpolator(blockObject.data)
, because ofblockObject.config.label
always has the property alias eg: {{propertyAlias}}