FormField
Extends:
react~Component → FormField
FormField is a component to present field and is used in Form component
FormField is a wrapper for Semantic UI-React's Form.Field component, so all properties of that component can be used here.
Access
Stage.Basic.Form.Field
Usage
FormField with no error
FormField with error
<Form onSubmit={this._createTenant.bind(this)} errors={this.state.errors} ref='createForm'>
<Form.Field error={this.state.errors.tenantName}>
<Form.Input name='tenantName' placeholder='Tenant name'
value={this.state.tenantName} onChange={this._handleInputChange.bind(this)}/>
</Form.Field>
</Form>
Static Member Summary
Static Public Members | ||
public static |
propTypes: * propTypes |