Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

[WIP] Retain previous search term as initial value when starting next search #203

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

westonruter
Copy link
Contributor

If you have a lot of posts with a similar title, and you want to open several of them, it is currently annoying to have to re-type "Lorem ipsum dolor sit amet" after each selection. Instead, after you have selected a post, the previous search term you entered should be pre-filled the next time you open the Select2 instead of the search box being blank.

The code in this PR is not working presently because nextSearchTerm is not working anymore in Select2v4: select2/select2#3902

This should also be implemented for https://github.com/xwp/wp-customize-object-selector

@westonruter westonruter modified the milestone: 0.8 Aug 6, 2016
@westonruter westonruter changed the title Retain previous search term as initial value when starting next search [WIP] Retain previous search term as initial value when starting next search Aug 16, 2016
@westonruter westonruter modified the milestones: 0.9.0, 0.8.0 Sep 1, 2016
@westonruter westonruter modified the milestones: 0.9.0, Next Major Release Aug 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant