Content type picker in dynamic root pickers#15514
Content type picker in dynamic root pickers#15514nul800sebastiaan merged 4 commits intoumbraco:contribfrom
Conversation
|
Hi there @bjarnef, 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 🤖 🙂 |
|
Thank you @bjarnef |
nul800sebastiaan
left a comment
There was a problem hiding this comment.
Hey @bjarnef - something is very wrong here, when I go to an MNTP and add a query step under Dynamic Root Query, then choose "Specific Node" then I am only allowed to choose from content types, not for actual content. Can you please check this?
|
Yes, you're right! It should open content, media or member picker as before. It is only shown when content is selected though. Just for fun I noticed when allowing this for media and member as well, member picker allow to select root nodes (All members, and other root nodes based on member type, unlike memberpicker property editor (which use treepicker). Content and media pickers allow selecting nodes at root level though. If it was enabled here, it would throw an error selecting root nodes. Ideally
|
|
Thanks @bjarnef this now works great! 👍 I skimmed through your other comments, but let's keep the scope creep down please. :-) |




Prerequisites
Description
This PR adjust the use of
contentTypePickerwith changes in #15080 and a bit cleanup in the controllers.