Copied across class attribute from field configuration to the label