some one give me examples, appreciate!
You can use the attr option of the text field type (and most others) to apply an attribute to a field.
attr
text
{ label: "My required input:", attr: { required: true } }
That can also be used to set the input type:
{ label: "My required input:", attr: { type: 'email', required: true } }
Allan
Answers
You can use the
attroption of thetextfield type (and most others) to apply an attribute to a field.That can also be used to set the input type:
Allan