React-select: Options "Create new item" position

Created on 26 Sep 2017  路  1Comment  路  Source: JedWatson/react-select

Hello, tell me, how can I put the option "Create new item" at the end of the list, after the result of issuing? By default, it is at the top of the list.

https://github.com/JedWatson/react-select/blob/7523c20f83b917e838d5c99fc7afa807eb6a5e7d/src/Creatable.js#L79

unshift adds an element to the end of the list

Most helpful comment

https://github.com/JedWatson/react-select/pull/1436

I believe there's already a PR for this, but it's on hold until the 1.0.0 release.

>All comments

https://github.com/JedWatson/react-select/pull/1436

I believe there's already a PR for this, but it's on hold until the 1.0.0 release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

steida picture steida  路  3Comments

coder-guy22296 picture coder-guy22296  路  3Comments

joshualimpj picture joshualimpj  路  3Comments

AchinthaReemal picture AchinthaReemal  路  3Comments

batusai513 picture batusai513  路  3Comments