c# - Why does sitecore ignores default value 0 by type integer? -


i'm using sitecore. project have created template simple type integer field. integer field has default value of 0.

when create new item based on template value 0 (default value), not displayed. changing default value 1 (for example) displayed. there knows how fix issue?

thanks lot.

jordy

sitecore not ignore default value 0. value '0' stored in sitecore integer field it's not displayed field default value int type (or maybe long cause know value parsed long).

if change show raw values value displayed.

and if access field value code, 0.


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -