Demos
Empty
<Field.SelectCountryonChange={(value) => console.log('onChange', value)}/>
Placeholder
<Field.SelectCountryplaceholder="Select something...."onChange={(value) => console.log('onChange', value)}/>
Label
<Field.SelectCountrylabel="Label text"onChange={(value) => console.log('onChange', value)}/>
Option selected
<Field.SelectCountryvalue="bar"onChange={(value) => console.log('onChange', value)}/>
Label and option selected
<Field.SelectCountryvalue="bar"label="Label text"onChange={(value) => console.log('onChange', value)}/>
Disabled
<Field.SelectCountryvalue="bar"label="Label text"onChange={(value) => console.log('onChange', value)}disabled/>
Error
<Field.SelectCountryvalue="bar"label="Label text"onChange={(value) => console.log('onChange', value)}error={new FormError('This is what is wrong...')}/>
Validation - Required
<Field.SelectCountrylabel="Label text"onChange={(value) => console.log('onChange', value)}requiredvalidateInitiallyvalidateUnchanged/>