messages.placeholderString
(default: "Type a message...")
The placeholder text displayed in the message input field.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "Notice the custom placeholder text in the input field below!",
authorId: "admin",
authorName: "Admin",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
timestamp: new Date(2026, 0, 1, 9, 0)
},
{
id: 2,
text: "I can see it says 'Enter your message...' instead of the default text.",
authorId: "user",
authorName: "User",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
timestamp: new Date(2026, 0, 1, 9, 5)
}
];
$("#chat").kendoChat({
messages: {
placeholder: "Enter your message..."
},
authorId: "user",
dataSource: messagesData
});
</script>
In this article