Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options "Create new item" position #2023

Closed
GruFFix opened this issue Sep 26, 2017 · 1 comment
Closed

Options "Create new item" position #2023

GruFFix opened this issue Sep 26, 2017 · 1 comment

Comments

@GruFFix
Copy link

GruFFix commented Sep 26, 2017

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.

filteredOptions.unshift(this._createPlaceholderOption);

unshift adds an element to the end of the list

@kylemh
Copy link

kylemh commented Sep 27, 2017

#1436

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

@GruFFix GruFFix closed this as completed Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants