Add dropdown property editor default selection setting #13588
Replies: 3 comments
-
Hi @bkclerke |
Beta Was this translation helpful? Give feedback.
-
Maybe this is relevant for almost all Property Editors. It would therefore be nice if it could be implemented in a generic way so that it works similarly for all Property Editors. |
Beta Was this translation helpful? Give feedback.
-
Currently you should be able to do this with https://our.umbraco.com/documentation/reference/events/EditorModel-Events/ and https://docs.umbraco.com/umbraco-cms/reference/notifications/editormodel-notifications (Good blog post from Paul Seal as well: https://codeshare.co.uk/blog/how-to-add-default-values-to-umbraco-properties-in-the-backoffice/). The reason we've never implemented default values for anything is because: yes - it's a BIG wish for us to have default values, for all property editors and that is a massive undertaking. I've added some details on how that should be achieved on this older issue here: #7859 So I think the answer for now is: use the EditorModel and maybe we can facilitate something for this in the new backoffice build? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think a helpful feature would be to add the setting on the Dropdown property editor to select a default prevalue option.
For example when you are adding prevalue options to a select list, It would be nice to be able to have a default value selected to save content editors a step in selection. We can set defaults in code, however that is not reflected to the content editor when they see their selection dropdown list in the backoffice.
Example of concept:

Beta Was this translation helpful? Give feedback.
All reactions