Declined
Last Updated: 18 Apr 2024 10:35 by ADMIN
Created by: Christian
Comments: 2
Category: Chat
Type: Bug Report
0

I have a chat widget configured like this:


let chat = $(target).kendoChat({
			messages: {
        placeholder: ResourceManager.GetInstance().getResource("SR_TYPE_A_MESSAGE")
      },
      user: user, 
      post: async (m: kendo.ui.ChatPostEvent) => await this.post(m),
    }).data("kendoChat");

 

If the post handler tries to await a call to a web  service (to do some translation/tag substitution) then the message is posted to the chat and the results of the web call are ignored.

Declined
Last Updated: 18 Apr 2024 06:28 by ADMIN

The current chat widget renders the user-input as an INPUT control, which means it cannot support multi-line support.

Wish for the option of rendering a TEXTAREA control instead of an INPUT for the chat widget:

 

Something like the following:
let chat = $(target).kendoChat({
  messages: {
        placeholder: ResourceManager.GetInstance().getResource("SR_TYPE_A_MESSAGE"),
        textarea: true
    },
      user: user, 
      post: async (m: kendo.ui.ChatPostEvent) => await this.post(m),
    }).data("kendoChat");

Unplanned
Last Updated: 29 Mar 2024 12:58 by ADMIN
Created by: Aline
Comments: 1
Category: Chat
Type: Bug Report
0

https://dojo.telerik.com/uJIwiyih

With version 2024.1.319, the sendMessage of chat is called twice whereas the bug doesn't exist in version 2022.3.913.

Is there a solution?

Completed
Last Updated: 25 Jan 2024 14:31 by ADMIN

The function kendo.chat.registerTemplate as mentioned here: https://docs.telerik.com/kendo-ui/controls/conversational-ui/chat/chat-items#custom-templates is missing in API Reference and the Typescript Definitions.

It would also be nice to have it documented in functions that are using the templates, for example the "message.type" parameter in https://docs.telerik.com/kendo-ui/api/javascript/ui/chat/methods/rendermessage