-
Notifications
You must be signed in to change notification settings - Fork 82
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
Multiple Trigger characters #12
Comments
Did you get something on this? |
You can just split the trigger string to an array, and go from there. If I get the time I can create a PR for this, if no one else beats me to it. |
Hello, is someone working on this feature? Because if not I'm OK to do it. |
@theohdv I've not done anything... Would be a useful feature! |
Is the feature added in react-native-mentions to allow multiple triggers. for example on '@' or '#' ?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we allow multiple triggers?
For our use case, we use
@
to target users and#
to target channels. Different autocomplete values... Astrigger
is a string, it cannot do this at the moment.It looks like
identifyKeyword
would be compatible with that string being a regex pattern (eg[@#]
or(@|#)
) butonChangeText
does a literal last character comparison...What do you think?
The text was updated successfully, but these errors were encountered: