Skip to content

How to modify the text before it's used to find matches #8

Description

@ChangePlaces

Consider a list of tags: elephants,apples,guns,weather etc

and the user enters tags in a textbox separated by pipes, like: apples|weather|tomatoes

The user is able to enter their own tags in the textbox. I'd like to be able to suggest tags per tag entry, so, if the textbox contained: apples|wea I'd like to be able to suggest weather. This means that I need to be able to evaluate the text as if the | is the start of a new textbox.

What would be the best way to achieve this? I'm thinking a new property that's a callback function that modifies the text before it's evaluated for matches?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions