How to Not Automatically Send Message When Suggestion is Selected

Hi,

How can I not replace the whole text inside editor input with suggestion text when suggestion is selected. I want to do some logic when suggestion is selected. I want to put that suggestion into a part inside editor box and allow user to continue typing message. I am following this tutorial https://help.syncfusion.com/xamarin/chat/suggestions?cs-save-lang=1&cs-lang=csharp#cancel-the-suggestions-from-closing. I am using sfChat v. 18.3.0.42. Please advice! Thank you. 

Ben

1 Reply 1 reply marked as answer

KK Karthikraja Kalaimani Syncfusion Team March 25, 2021 12:49 PM UTC

Hi Ben Hotra,

You can change the editor text by using the SfChat.Editor.Text property on SuggestionSelectedItem event. For more details please refer to the below UG link.

https://help.syncfusion.com/xamarin/chat/suggestions?cs-save-lang=1&cs-lang=csharp#cancel-the-suggestions-from-closing

Regards,
Karthik Raja  


Marked as answer
Loader.
Up arrow icon