Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

highlight filter broken for numeric items #1400

Closed
@dontgitit

Description

@dontgitit

#1281 fixed for numeric matchItem; however it's still broken with a numeric query. Can use the same fix as for matchItem;

https://github.com/angular-ui/ui-select/blob/master/src/common.js#L132

    return queryToEscape.replace(/([.?*+^$[\]\\(){}|-])/g, '\\$1');

to

    return ('' + queryToEscape).replace(/([.?*+^$[\]\\(){}|-])/g, '\\$1');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions