gives possibility to use ref property for Creatable#1646
gives possibility to use ref property for Creatable#1646gwyneplaine merged 1 commit intoJedWatson:masterfrom
Conversation
|
thanks for this @blacktemplar this has been merged into master. |
|
This appears to be causing warnings for me (react-select@1.1.0, react@15.6.2). I'm using ref={r=>this.selector = r} and getting: Warning: CreatableSelect: I believe this is because ref is reserved, so you can't really pass it through like you are. If you renamed it to selectRef for Creatable (and updated the documentation for this exception to the Select API) I believe that would solve the issue. My code seems to still work ok (it was working before upgrading from rc10), but I'd like to get rid of the warning if possible. |
fixes issue #1644