Skip to content

Update to JedWatson/react-select v1.0.0-rc.10#96

Merged
TrevorBurnham merged 124 commits intomasterfrom
update-to-upstream-rc.10
Oct 20, 2017
Merged

Update to JedWatson/react-select v1.0.0-rc.10#96
TrevorBurnham merged 124 commits intomasterfrom
update-to-upstream-rc.10

Conversation

@TrevorBurnham
Copy link
Contributor

Fixes #93, #94, #95.

Lots of changes here, as our last sync-up was with RC5: #76

cbergmiller and others added 30 commits June 3, 2017 09:53
* [FIX] #1651 moved option prop sync to componentWillReceiveProps

* [ADD] test for option prop sync by componentWillReceiveProps
* [ADD] Clarified the onInputChange prop signature in the docs

* [ADD] requested changes
Replace whitespaces with tabs and vice versa for consistency reasons
Replace whitespaces with tabs and vice versa for consistency reasons
* Update README.md to include 'valueComponent' prop

Thanks to some very helpful feedback I received in this repo (and reading through some issues other users were having) I found there was a valueComponent prop that I could utilize that made my life so much easier.  I think it needs to be included in the list of available props in the docs.

* Update README.md to include 'valueComponent' prop

(edited with suggested changes made)

* Minor copy edits of valueComponent description
* hide create option after closing menu

* cleaned up tests
Before this change, console log in browser will throw
> Selected: [object Object]

After this change console log in browser will throw some nice information.
> Selected: {"value":"three","label":"Three"}
Update Template to point users to SO and update plnkr
convert CreatableSelect to ES6 class
convert AsyncCreatable to ES6 class
Typo "effeciently" => "efficiently"
* Fix issue with Circular references.

Because Select was used in Async, AsyncCreatable, and Creatable and those components were ref in
Select, there was a circular dependency. It seems mostackage managers handled this ok, but this
may cause an issue with hoisting (e.g. rollup and webpack 3).# Please enter the commit message for your changes. Lines starting

* Add focus test back in to Async

* Make components static fields on Select instance
JedWatson and others added 25 commits September 13, 2017 01:05
Fix peerDependencies to be compatible with 'prop-types' package
This behaviour is default now, and implemented in the Select component itself. Use closeOnSelect={false} and onSelectResetsInput={false} to leave the suggestions open.
Resolves PropType deprecation warning
Fix scroll focus when using up arrow key
Remove obsolete browserify-shim configuration
Remove obsolete browserify-shim configuration
fix bug, if wrote "hasOwnProperty"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.