diff --git a/src/List.jsx b/src/List.jsx index a75441c4d..edbb22adf 100644 --- a/src/List.jsx +++ b/src/List.jsx @@ -77,7 +77,7 @@ export default React.createClass({ let id = instanceId(this) , items; - let props = _.omitOwnProps(this); + let elementProps = _.omitOwnProps(this); items = !data.length ? ( @@ -86,8 +86,8 @@ export default React.createClass({ ) : data.map((item, idx) => { var currentId = optionId(id, idx) - , isDisabled = isDisabledItem(item, props) - , isReadOnly = isReadOnlyItem(item, props); + , isDisabled = isDisabledItem(item, this.props) + , isReadOnly = isReadOnlyItem(item, this.props); return (