react-select icon indicating copy to clipboard operation
react-select copied to clipboard

AllowCreate AND newOptionCreator not working

Open GJ2511 opened this issue 10 years ago • 4 comments

Hi this my code

 <Select.Async
 id='bonus_code'
 name='bonus_code'
 multi={true}
 allowCreate={true}
 newOptionCreator={this.newOption.bind(this)}
 value={this.state.bonusCode}
 onChange = {this.onChangeBonusCode.bind(this)}
 loadOptions={getOptions}
/>

newOptionCreator is not working

Any ideas????

GJ2511 avatar May 16 '16 06:05 GJ2511

This is functionality hasn't yet been implemented in the 1.0 rewrite. Use the latest 0.9.x version instead.

mustaqball avatar May 16 '16 08:05 mustaqball

This comment may help: https://github.com/JedWatson/react-select/issues/586#issuecomment-177047129

jamesplease avatar May 25 '16 18:05 jamesplease

By the way, I believe PR #1187 should resolve this issue. Please feel free top give the branch a spin and let me know if you have any concerns or other feedback. 😄

bvaughn avatar Sep 03 '16 03:09 bvaughn

This issue no longer exists in the 1.x code (as of PR #1187) and so I'm going to close it!

Look for an updated RC with this functionality soon. 😎

bvaughn avatar Sep 04 '16 02:09 bvaughn