Skip to content

Commit a1d5bc7

Browse files
author
Ryan Blakeley
authored
Fix (#222)
fix #177 unknown props on autocomplete
2 parents f7b4c32 + 985a0d8 commit a1d5bc7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/FormsyAutoComplete.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ const FormsyAutoComplete = createClass({
1515
onChange: PropTypes.func,
1616
onFocus: PropTypes.func,
1717
onKeyDown: PropTypes.func,
18+
validationError: PropTypes.string,
19+
validationErrors: PropTypes.object,
20+
validations: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
1821
value: PropTypes.any,
1922
},
2023

@@ -61,6 +64,9 @@ const FormsyAutoComplete = createClass({
6164
defaultValue, // eslint-disable-line no-unused-vars
6265
onFocus,
6366
value, // eslint-disable-line no-unused-vars
67+
validations, // eslint-disable-line no-unused-vars
68+
validationError, // eslint-disable-line no-unused-vars
69+
validationErrors, // eslint-disable-line no-unused-vars
6470
...rest } = this.props;
6571
return (
6672
<AutoComplete

0 commit comments

Comments
 (0)