React-select: Creatable doesn't allow commas?

Created on 22 Jun 2017  路  2Comments  路  Source: JedWatson/react-select

Not sure if this is intended but if you goto your own examples, specifically Github users (Async with fetch.js). If you make it a single value non-creatable you can type "whatever, whatever" but if you make it creatable as soon as you hit the comma it "creates" the value.

categorquestion

Most helpful comment

Hello @Farmse comma is a valid character to create a new option. If you would like to override this behavior you can supply your own shouldKeyDownEventCreateNewOption prop.

All 2 comments

Hello @Farmse comma is a valid character to create a new option. If you would like to override this behavior you can supply your own shouldKeyDownEventCreateNewOption prop.

ah I see; my mistake

Was this page helpful?
0 / 5 - 0 ratings