Open njt1982 opened 7 years ago
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 '#' ??
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?