You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to capture the "full name" of a person and sending it to my backend for search?
For example, if I type "@john Doe", only "John" is sent to the backend when I do a realtime AJAX name search. This has 2 side effects:
the full name is not highlighted properly in the dropdown
I cannot filter the results accordingly. This is problematic since I have a few thousand users. I want to reduce the size of the dropdown as much as possible.
Another example of this issue is that if I start typing the first name, then part of the last name and hit Enter, the part of the last name I typed stays there after the mention.
Hmm, I guess the implementation of this would be to send from the triggerChar to the caret location.
Consider editing this text:
'@john Doe| is a slob'
Checking the caret location is a must, since else it would send until EOL
Is there a way to capture the "full name" of a person and sending it to my backend for search?
For example, if I type "@john Doe", only "John" is sent to the backend when I do a realtime AJAX name search. This has 2 side effects:
I made a short screencast to illustrate the problem: http://db.tt/5Sky8XVT
I'm not sure if this is a bug, a mis-configuration or simply something that was not implemented. Thanks!
For the record, this is my onDataRequest code (in Coffeescript):
The text was updated successfully, but these errors were encountered: