Fixed Unable to revert customized style property

Jake B.

Well-known member
Affected version
2.0.0
Style properties are showing "Value customized" if I've ever edited the value regardless if I've set it back to the default value, and I'm not seeing a way to actually revert it to the default to get rid of that
 
You can't revert a value merely by setting it to the default (this is the same as XF1).

The revert checkbox is underneath the modified property:
1502894047112.webp

Is there a particular property this is happening with?
 
You can't revert a value merely by setting it to the default (this is the same as XF1).

The revert checkbox is underneath the modified property:
View attachment 155904

Is there a particular property this is happening with?

Yeah, the "revert" checkbox is what I was expecting to see but didn't so assumed there was something wrong :P

It's a custom style property created in an add-on (though, just using the "Boolean" type so no custom templates)

Screen Shot 2017-08-16 at 9.56.52 AM.webp

Able to replicate on some default style properties as well, for example:

Screen Shot 2017-08-16 at 9.58.05 AM.webp

So I think the revert option is just missing on some types of style properties :)
 
Yeah, seems to be type dependent. I can confirm this with the formSubmitSticky property.

As a workaround for now, you can properly revert a property via Appearance > Styles > [...] menu > Customized components.
 
Top Bottom