This commit adds a new meta attribute, VarLabel, that allows for conditional labels. This works similar to ShowIf and such, in that it takes the name of the field, method, or property providing the final label text.
Not sure I'm a fan of this hacky Label inheritance and the type check, but it is a Label, so eh. Hope someone finds this useful!
This commit adds a new meta attribute,
VarLabel
, that allows for conditional labels. This works similar toShowIf
and such, in that it takes the name of the field, method, or property providing the final label text.Not sure I'm a fan of this hacky
Label
inheritance and the type check, but it is a Label, so eh. Hope someone finds this useful!