-
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
Fixing publish descendants dialog #8601
Conversation
updating localized texts to reflect what is happening. ensure the selected value is pushed back to scope and used for the action.
When merged, should also be cherrypicked for 8.7 as it is a regression. |
label-off="{{vm.labels.includeUnpublished}}" | ||
label-position="right" | ||
show-labels="true"/> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clausjensen notice angular directives/components can't be void elements (self-closing), so it needs a end-closing </umb-toggle>
.
There is a great explanation of it here: https://stackoverflow.com/a/25012451/1693918
Also here is an example of what can happen when a component/directive is self-closed. Of course native HTML5 elements can still be self-closed like <img />
, <br />
etc.
#8478
Here is a PR updating this for <umb-checkbox>
and <umb-radiobutton>
:
#8547
and this for <umb-toggle>
#8605
However if merging this PR and including end-closing </umb-toggle>
, then #8605 can just be closed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've merged your PR as it might be good just for history .. and the whitespace change is fine. Merging this afterwards will overwrite some things in yours which is fine.
@clausjensen I have submitted the following PR: #8605 But it seems it was only in this overlay |
I've removed version tag on this as I'm fairly sure this was never actually released in a release. |
Description
The publish descendants dialog was broken at some point going from 8.6->8.7.
I've fixed it up, using the label on the toggle directive instead of using a separate label.
Also updated the localized texts to better reflect what is happening here:
The last fix done here is that the selected value would not be pushed back to the scope which means your selection would never make it back.
This item has been added to our backlog AB#7682