New to Kendo UI for AngularStart a free 30-day trial

PromptBoxComponent

Updated on Feb 5, 2026

Represents the Kendo UI PromptBox component for Angular.

html
<kendo-promptbox placeholder="Ask a question..."></kendo-promptbox>

Selector

kendo-promptbox

Export Name

Accessible in templates as #kendoPromptBoxInstance="kendoPromptBox"

Inputs

NameTypeDefaultDescription

actionButton

boolean | ActionButtonSettings

true

Controls the visibility and configuration of the Action button in the end affix.

disabled

boolean

false

Enables or disables the PromptBox.

fileSelectButton

boolean | FileSelectButtonSettings

false

Controls the visibility and configuration of the File Select button in the end affix.

loading

boolean

false

Sets the loading state of the Action button.

maxTextAreaHeight

number

Sets the maximum height of the textarea in pixels. The textarea resizes automatically until it reaches this height. When the content exceeds this height, a scrollbar appears.

mode

PromptBoxMode

'auto'

Sets the mode of the PromptBox. See example.

placeholder

string

''

Sets the placeholder text displayed in the PromptBox when it is empty.

readonly

boolean

false

Sets the read-only state of the PromptBox. When set to true, the PromptBox content cannot be modified but remains accessible.

rows

number

Sets the number of visible text lines in the textarea. Applies only when the mode is set to multi.

speechToTextButton

boolean | SpeechToTextButtonSettings

true

Controls the visibility and configuration of the Speech to Text button in the end affix.

title

string

''

Sets the title attribute of the input or textarea element.

value

string

Sets the value of the PromptBox.

Fields

NameTypeDefaultDescription

attachments

FileInfo[]

Provides the currently attached files in the PromptBox component.

Events

NameTypeDescription

fileRemove

EventEmitter<FileInfo>

Fires each time you remove a file from the PromptBox.

inputBlur

EventEmitter<void>

Fires each time the internal input element is blurred.

inputFocus

EventEmitter<void>

Fires each time the internal input element is focused.

blur

EventEmitter<void>

Fires each time the PromptBox gets blurred.

focus

EventEmitter<void>

Fires each time the PromptBox is focused.

promptAction

EventEmitter<ActionButtonEvent>

Fires each time you click the Action button.

selectAttachments

EventEmitter<SelectEvent>

Fires each time you select files using the File Select button.

speechToTextClick

EventEmitter<any>

Fires each time you click the Speech to Text button.

speechToTextEnd

EventEmitter<any>

Fires each time the speech recognition service disconnects.

speechToTextError

EventEmitter<SpeechToTextErrorEvent>

Fires when a speech recognition error occurs.

speechToTextResult

EventEmitter<SpeechToTextResultEvent>

Fires when the speech recognition service returns a result.

speechToTextStart

EventEmitter<any>

Fires each time the speech recognition service begins listening to incoming audio.

valueChange

EventEmitter<string>

Fires each time the value of the PromptBox changes.

Methods

blur

Blurs the PromptBox.

clearAttachments

Clears all attached files from the PromptBox.

focus

Focuses the PromptBox.

In this article
SelectorExport NameInputsFieldsEventsMethods
Not finding the help you need?
Contact Support