London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
I think that I had similar problem. Maybe you should use nullable integer (int?) instead of scalar value.
I mean:
[EditorDescriptorRegistration(TargetType = typeof(int?), UIHint = "myUIHint")]
Thanks Grzegorz, I don't understand why it works now since int? and int are different and I would never have thought of it myself so thanks again!
I'm having troubles getting the EditorSelectionEditorDescriptor to work with the type int. The reason I want to register my own EditorSelectionEditorDescriptor is because I want to send my own properties to a dijit (widget). I only get the EditorSelectionEditorDescriptor to work correctly when saying the type is string. This is how I have configured the EditorSelectionEditorDescriptor. The constructor is always called but never the ModifyMetadata. I have followed this article -> http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2013/12/Auto-suggest-editor-in-EPiServer-75/
Thanks for your help!