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)}/>
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/>