The default inputs use the tag @FormInput(descriptor)
. The descriptor have the following fields.
class InputDescriptor {
label: string;
type?: string = 'text';
styleClass?: any;
required?: boolean;
validators?: Validator[];
errorMessage?: string;
}
Here are the properties of the default fields.
The decorator @Label(descriptor)
is used to show text in the form. The label decorator accepts a InputDescriptor that you can use to configure the label.