-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
C: ChatEnhancementFP: In DevelopmentSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)
Milestone
Description
Overview
In order to set a template, you would have to use either the {templateName}-template-id
or {templateName}-handler
TagHelper attributes:
<kendo-chat name="chat" message-template-handler="getMessageLayout">
</kendo-chat>
It would be beneficial if the template component could be leveraged directly within the existing TagHelper structure of the Chat TagHelper via the TagHelpers. For instance:
<kendo-chat name="chat">
<message-template>
<h3>My Template</h3>
</message-template>
<files-template>
<p>Test Test</p>
<kendo-button name="myBtn">Click Here</kendo-button>
</files-template>
</kendo-chat>
The affected options will be:
filesTemplate
messageGroupTemplate
messageReferenceTemplate
messageTemplate
suggestedActionsTemplate
suggestionsTemplate
timestampTemplate
Current behavior
The aforementioned Chat component TagHelpers do not expose an additional Template Component TagHelper integration for its template options.
Expected/desired behavior
The aforementioned Chat component TagHelpers should expose an additional Template Component TagHelper integration for its template options.
Metadata
Metadata
Assignees
Labels
C: ChatEnhancementFP: In DevelopmentSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)