ludo.form.Label

ludo.form.


new ludo.form.Label(config, label, Reference)

Label for a ludo.form View

A label will be assigned the css class ludo-form-el-invalid when the associated form element has an invalid value(not validated).
By default, this will render it with a red text.

Parameters:
Name Type Description
config Object
label String

Text label

Reference String | ludo.form.Element

to a ludo.form View which this label should be associated with.

Source: