Last active
August 29, 2015 14:15
-
-
Save mattbrailsford/59c22540b7b1b2a88fc7 to your computer and use it in GitHub Desktop.
Example of creating a dropdown list paramter editor for Umbraco 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
propertyEditors: [ | |
{ | |
alias: "ButtonStylePicker", | |
name: "Button Style Picker", | |
editor: { | |
view: "dropdown" | |
}, | |
isParameterEditor: true, | |
defaultConfig: { | |
"items" : [ | |
{ id:"grey", value:"Grey" }, | |
{ id:"green", value:"Green" }, | |
{ id:"orange", value:"Orange" } | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment