Sitecore bug 502996 - Checkbox Rendering Parameter is taking value from standard values if not checked
The Problem In a recent project based on Sitecore 10.1.4, I encountered an intriguing issue with Sitecore’s rendering parameters. Specifically, I was working with a rendering parameter template that included Checkbox fields. The standard values for these fields were set to “checked” Observed Behavior When reading these values for a page rendering, I noticed the following behavior: Unchecking the Checkbox: The value remained “1”. Unchecking the Checkbox and adding another rendering parameter with a value: The checkbox value became null (as expected). This led me to question why the checkbox value remained “1” when unchecked, unless a value was added to the one of the rendering parameter field. The Analysis Upon further investigation and raising a support ticket with Sitecore, it was confirmed that this behavior is indeed a bug in the current Sitecore version. The checkbox rendering parameter appears to read from the standard value if unchecked, which is not the expected behav...