diff --git a/components/aiprompt/templates.md b/components/aiprompt/templates.md index 74a9355ca8..654066a13c 100644 --- a/components/aiprompt/templates.md +++ b/components/aiprompt/templates.md @@ -25,7 +25,7 @@ The Prompt view of the AIPrompt renders any suggestions passed to the `PromptSug <PromptSuggestionItemTemplate> <div @onclick="@OnSuggestionClick" class="my-custom-suggestion-item"> <TelerikSvgIcon Icon="@SvgIcon.Clipboard" /> - <span class="my-custom-suggestion-item-text">@context</span> + <span class="my-custom-suggestion-item-text">@context.Suggestion</span> </div> </PromptSuggestionItemTemplate> </TelerikAIPrompt> @@ -71,4 +71,4 @@ The Prompt view of the AIPrompt renders any suggestions passed to the `PromptSug ## See Also -* [Views Templates]({%slug aiprompt-views-templates%}) \ No newline at end of file +* [Views Templates]({%slug aiprompt-views-templates%})