Skip to content

Instantly share code, notes, and snippets.

@shabaz-ejaz
Created August 16, 2017 16:07
Show Gist options
  • Save shabaz-ejaz/52e818caaca79fbbf531bdc7db3735c2 to your computer and use it in GitHub Desktop.
Save shabaz-ejaz/52e818caaca79fbbf531bdc7db3735c2 to your computer and use it in GitHub Desktop.
Uncontrolled input component
<Form.Field defaultValue={this.state.searchFreeText} icon={{ name: 'search' }} onBlur={this.handleFreeTextSearchChange.bind(this)} control={Input} width={4} label="Search for:" placeholder="Search" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment