Fixed Value style property not resetting when changing type

Affected version
2.0 RC1

Steve F

Well-known member
To reproduce create a Unit type value style property.

Result, predefined field with '0px'.

Change that property to Number type.

Result, empty field when it should be predefined with '0' (with no min set).



XenForo developer
Staff member
I've made tweaks here, but any sort of conversion that we do is going to be partial at best. There are a lot of permutations that we really can't handle and our validation of style property values is intentionally very loose (as they can refer to other properties, for example).