Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Further fix for late coming options
  • Loading branch information
Dave Brotherstone committed Feb 3, 2015
commit 2bd528a50201c4adae9eeb6036ebed80e92847ea
1 change: 1 addition & 0 deletions dist/react-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ var Select = React.createClass({
return v.value;
}).join(this.props.delimiter),
values: values,
options: options,
inputValue: "",
filteredOptions: filteredOptions,
placeholder: !this.props.multi && values.length ? values[0].label : this.props.placeholder,
Expand Down
2 changes: 1 addition & 1 deletion dist/react-select.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ var Select = React.createClass({
return v.value;
}).join(this.props.delimiter),
values: values,
options: options,
inputValue: "",
filteredOptions: filteredOptions,
placeholder: !this.props.multi && values.length ? values[0].label : this.props.placeholder,
Expand Down
1 change: 1 addition & 0 deletions examples/dist/standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ var Select = React.createClass({
return v.value;
}).join(this.props.delimiter),
values: values,
options: options,
inputValue: "",
filteredOptions: filteredOptions,
placeholder: !this.props.multi && values.length ? values[0].label : this.props.placeholder,
Expand Down
1 change: 1 addition & 0 deletions lib/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ var Select = React.createClass({
return v.value;
}).join(this.props.delimiter),
values: values,
options: options,
inputValue: "",
filteredOptions: filteredOptions,
placeholder: !this.props.multi && values.length ? values[0].label : this.props.placeholder,
Expand Down
1 change: 1 addition & 0 deletions src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ var Select = React.createClass({
return {
value: values.map(function(v) { return v.value; }).join(this.props.delimiter),
values: values,
options: options,
inputValue: '',
filteredOptions: filteredOptions,
placeholder: !this.props.multi && values.length ? values[0].label : this.props.placeholder,
Expand Down