This repository was archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: