Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
May 18, 2018
Jun 01, 2018
CMS UI
Closed, Fixed and tested
Steps to reproduce
[Display(GroupName = SystemTabNames.Content)]
|
[Range(0,10)] |
public virtual int? NetworkCatalogDepth { get; set; } |
|
public override void SetDefaultValues(ContentType contentType) |
{
|
base.SetDefaultValues(contentType);
|
NetworkCatalogDepth = null; |
}
|
Expected:
The text box is empty, like when I create a new block from the Assets pane.
Actual:
The default value in the text box becomes 0 for an int property.