November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
I tried inheriting SelectOneAttribute to create an attribute which sets the editor to FilteringSelect, but that also breaks the UI:
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class FilteringSelectOneAttribute : SelectOneAttribute, IMetadataAware { void IMetadataAware.OnMetadataCreated(ModelMetadata metadata) { OnMetadataCreated(metadata); var extendedMetadata = metadata as ExtendedMetadata; if (extendedMetadata == null) { return; } extendedMetadata.ClientEditingClass = "dijit/form/FilteringSelect"; } }
Weird thing is, if I set ClientEditingClass to "epi/shell/form/AutoCompleteSelectionEditor" (which inherits FilteringSelect) I actually get a FilteringSelect-like editor (even though it breaks because it has no store set).
Oh well, any suggestions are greatly appreciated. :)
I'm trying to switch to the FilteringSelect widget to make it easier to make a selection in a rather long list.
I have a property like the following:
My editor descriptor looks like:
However, I just end up with the standard Select editor.
I've also tried setting the editor class using the ClientEditor attribute on the property, but to no avail.
I've also tried setting the ClientEditingClass inside the selection factory, but that just breaks the UI. :)
Any bright ideas? :)