Sitecore / Habitat

Sitecore Modular Architecture Example
Other
413 stars 397 forks source link

Droptree standard value will come back as false when calling the field.HasValue method #484

Closed JosRaedts closed 4 years ago

JosRaedts commented 4 years ago

When you have a standard value for a droptree / droplink value, the HasValue will return false when you still have the standard field value. The FieldHasValue will look at the actual value and will return true for a standard value.

nickwesselman commented 4 years ago

Thanks for the PR @JosRaedts, but we are archiving Habitat as no further releases are planned. Future efforts will be focused on the new Helix Examples: https://sitecore.github.io/Helix.Examples/