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

Update highlightFirstItem to take tags in to consideration #5812

Merged
merged 4 commits into from
Jan 22, 2021

Commits on Jan 22, 2021

  1. refactor: check for unselected options when using tags and highlight …

    …that option first
    Martin Carlin authored and kevin-brown committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    3fc6689 View commit details
    Browse the repository at this point in the history
  2. Switch to using a decorator for highlighting tags

    This switches the implementation to use a decorator which is only
    added when the `tags` option is set during initialization.
    Functionally it has no change on the effect but it allows for the
    logic to be more isolated. In the end it just keeps it more organized
    and works towards cutting back on what is included in the core results.
    
    This also changes the call for setting the `select2-data-tag` attribute
    to properly set the attribute as a string instead of relying on the
    boolean to string conversion.
    kevin-brown committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    ebed9ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f8e1bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c6f1bf View commit details
    Browse the repository at this point in the history