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");