I have a document type that has property1 of type textstring and property2 of type numeric.
When in my Saving Event I do an IsPropertyDirty on the textstring property it returns 'true' when the value has changed and 'false' when it hasn't.
if (contentItem.IsPropertyDirty("property1"))
{
LogHelper.Info(typeof(UpdateRonde), "Value has changed");
}
else
{
LogHelper.Info(typeof(UpdateRonde), "Value still the same");
}
When I do the IsPropertyDirty on the numeric property it always returns 'true', even if I don't change the value. Is that a bug?
IsPropertyDirty is always true for numeric field
I have a document type that has property1 of type textstring and property2 of type numeric.
When in my Saving Event I do an IsPropertyDirty on the textstring property it returns 'true' when the value has changed and 'false' when it hasn't.
When I do the IsPropertyDirty on the numeric property it always returns 'true', even if I don't change the value. Is that a bug?
I'm using Umbraco 7.3.8.
is working on a reply...