Skip to content

Commit

Permalink
Merge pull request #2126 from JedWatson/wagoid-master
Browse files Browse the repository at this point in the history
PR to resolve merge conflicts from #1595
  • Loading branch information
gwyneplaine authored Nov 1, 2017
2 parents 44eded2 + 7804cd4 commit 6cc59dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const stringOrNode = PropTypes.oneOfType([
PropTypes.string,
PropTypes.node,
]);
const stringOrNumber = PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]);

let instanceId = 1;

Expand Down Expand Up @@ -1143,7 +1147,7 @@ Select.propTypes = {
searchable: PropTypes.bool, // whether to enable searching feature or not
simpleValue: PropTypes.bool, // pass the value to onChange as a simple value (legacy pre 1.0 mode), defaults to false
style: PropTypes.object, // optional style to apply to the control
tabIndex: PropTypes.string, // optional tab index of the control
tabIndex: stringOrNumber, // optional tab index of the control
tabSelectsValue: PropTypes.bool, // whether to treat tabbing out while focused to be value selection
trimFilter: PropTypes.bool, // whether to trim whitespace around filter value
value: PropTypes.any, // initial field value
Expand Down

0 comments on commit 6cc59dd

Please sign in to comment.