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
Just follow this
Thanks Henrik, so I would have to use DOJO to acheive this. No other way around this, I guess?
No, but that is quite simple dojo so it should not be any problem
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)
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: