Demos
Empty
<Field.FirstName onChange={(value) => console.log('onChange', value)} />
Placeholder
<Field.FirstNameplaceholder="Enter a name..."onChange={(value) => console.log('onChange', value)}/>
Label
<Field.FirstNamelabel="Label text"onChange={(value) => console.log('onChange', value)}/>
Label and value
<Field.FirstNamelabel="Label text"value="John"onChange={(value) => console.log('onChange', value)}/>
With help
<Field.FirstNamelabel="Label text"value="John"help={{title: 'Help is available',contents:'Advantages of helping people include you being a good example for your children, family, and friends, and you having a direct impact on the trajectory of the lives of a lot of people.',}}onChange={(value) => console.log('onChange', value)}/>
Disabled
<Field.FirstNamevalue="John"label="Label text"onChange={(value) => console.log('onChange', value)}disabled/>
Error
This is what is wrong...
<Field.FirstNamevalue="Unnamed"label="Label text"onChange={(value) => console.log('onChange', value)}error={new FormError('This is what is wrong...')}/>
Validation - Required
<Field.FirstNamevalue="John"label="Label text"onChange={(value) => console.log('onChange', value)}required/>