Thanks Henrik, so I would have to use DOJO to acheive this. No other way around this, I guess?
Thanks again,
I am getting quite a lot JS errors and the most important one is this
This is my code to modify meta data
[EditorDescriptorRegistration(TargetType = typeof(LocationBlock))] public class LocationBlockEditorDescriptor : EditorDescriptor { public override void ModifyMetadata(EPiServer.Shell.ObjectEditing.ExtendedMetadata metadata, IEnumerable<Attribute> attributes) { base.ModifyMetadata(metadata, attributes); metadata.Properties.Cast<ExtendedMetadata>().First().GroupSettings.ClientLayoutClass = "alloy/editors/LocationBlockContainer"; } }
I have started my Empty Alloy project. Now sure where to put these JS files. Any comment on that one?
An explanation of how to create multiple dropdowns with dojo:
https://andersnordby.wordpress.com/2014/10/24/creating-a-custom-property-with-a-dojo-widget/
An explanation of how to create multiple dropdowns with dojo:
https://andersnordby.wordpress.com/2014/10/24/creating-a-custom-property-with-a-dojo-widget/
So I am using Selection factory to populate my dropdowns.
Is it possible to populate a dropdown based on another dropdown?
Like Country -> Region example