Skip to content

Commit 7b1617d

Browse files
committed
Merge pull request #174 from sangoma/fix-disabled
Fix code typo on disabled propType for tokenizer and typeahead components
2 parents 321db82 + 341df83 commit 7b1617d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/tokenizer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ var TypeaheadTokenizer = React.createClass({
186186
<Typeahead ref="typeahead"
187187
className={classList}
188188
placeholder={this.props.placeholder}
189-
disabled={this.props.disable}
189+
disabled={this.props.disabled}
190190
inputProps={this.props.inputProps}
191191
allowCustomValues={this.props.allowCustomValues}
192192
customClasses={this.props.customClasses}

src/typeahead/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ var Typeahead = React.createClass({
320320
<InputElement ref="entry" type="text"
321321
{...this.props.inputProps}
322322
placeholder={this.props.placeholder}
323-
disabled={this.props.disable}
323+
disabled={this.props.disabled}
324324
className={inputClassList}
325325
value={this.state.entryValue}
326326
defaultValue={this.props.defaultValue}

0 commit comments

Comments
 (0)