React-select: AllowCreate AND newOptionCreator not working

Created on 16 May 2016  路  4Comments  路  Source: JedWatson/react-select

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????

All 4 comments

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

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. 馃槃

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. 馃槑

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yrabinov picture yrabinov  路  3Comments

pgoldweic picture pgoldweic  路  3Comments

geraldfullam picture geraldfullam  路  3Comments

steida picture steida  路  3Comments

batusai513 picture batusai513  路  3Comments