Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.CMS.UI 10.0.2
EPiServer.CMS.UI 10.9.5
May 11, 2017
Jun 08, 2017
CMS UI
Closed, Fixed and tested
We believe that this issue only occurs from CMS.UI 10 and forward because of changes made in CMS.Core 10.
Steps to reproduce:
1. On StandardPage.cs in Alloy templates, add this boolean property:
public virtual bool IsTrueOrNot { get; set; }
2. Add this EditorDescriptor:
[EditorDescriptorRegistration(TargetType = typeof(bool))] public class BooleanEditorDescriptor : EditorDescriptor { public BooleanEditorDescriptor() { ClientEditingClass = "dijit/form/TextBox"; } }
3. Create a page of type standardpage.
4. Go to all properties mode and edit the new property.
Expected
The IsTrueOrNot property is displayed as a textbox.
Actual
The property is still a regular checkbox
Note: Also, setting a matching UIHint on the boolean property does not work.
[UIHint(BooleanEditorDescriptor.UIHint)] public virtual bool IsTrueOrNot { get; set; } ... [EditorDescriptorRegistration(TargetType = typeof(bool), UIHint = UIHint)] public class BooleanEditorDescriptor : EditorDescriptor { public const string UIHint = "CustomBool"; ... }