.ts
code.user.ts
and set the new label
for the name
field with @Property.Label('Full Name')
decorator: .oss
files have higher precedence over annotation rules, so make sure to remove label property in theUser.oss.
run npm compile:oss
Properties
decorator:trait
properties like this (required):Traits
decorator:name
is required and label
is set to "Full Name"MetaIncludeComponent
the ( <m-include-component>
) switches in the right component with the component property through chaining and annotation rules. As mentioned, the trait property is chained back to the context, but where are the rest of rules involved? This takes us to the MetaUI built-in rules.