Adds an asterisk to the given label string based on the required parameter.
the label string
whether the label belongs to a control which is required
applied UI Schema option
Adds an asterisk to the given label string based on the required parameter.