Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Entry type selector is not visible when quick editing an entry. #4102
When quick editing (triggered by double click) an entry from an entry field or from the Entries page, the dropdown to select entry type is absent. Creating a new entry in an entry field context provides the option as expected.
Steps to reproduce
Ok, that's interesting. Could you elaborate on why it is designed to work that way?
My use case is that I have an entries field within a matrix block, and my section has a four entry types that provide slight variations on content — a title and some descriptive text accompanied by either a pull quote, image or video, or nothing at all.
Sometimes I might start typing in the description for a vanilla entry only to realise I need to add an image. I can then select from the dropdown my alternate entry type and my descriptive text is still there, only now I'm offered my additional field for adding the image asset.
But situations might also occur where one of these entries has already been defined, but its variant needs to be switched to one of the other types. I would like to have the same convenience to be able to make this switch from within the quick edit in my entries field rather than having to go back out to my Entries, finding the right entry without the help of the convenience of the context of my related related "parent" element and make the switch from the full entry edit page.
To me it seems inconsistent to offer the option when creating the new entry with quick edit, but not when editing an existing one, when there appears to be no technical reason not to — this can after all be done from the full edit page with no adverse effects.
Would you be open to a PR for the enhancement?
Because it’s not something people tend to change once they’ve created an entry, and we don’t want to add extra fields to the quick edit HUD that we know most people won’t touch. (This is the first time anyone has asked about it, for example.)
Not really, see above. I think we’d want to give the editor HUD a multi-tab UI where extra details like the entry type could be accessed from a separate tab, out of normal view. Something to consider in Craft 4 where we will be making a lot of other field layout enhancements.