Skip to content

Comments

docs(PromptBox): add promptbox docs#3495

Merged
xristianstefanov merged 2 commits intomasterfrom
docs-prompt-box
Feb 10, 2026
Merged

docs(PromptBox): add promptbox docs#3495
xristianstefanov merged 2 commits intomasterfrom
docs-prompt-box

Conversation

@xristianstefanov
Copy link
Contributor

@xristianstefanov xristianstefanov self-assigned this Feb 9, 2026
@xristianstefanov xristianstefanov requested review from a team as code owners February 9, 2026 13:30
@xristianstefanov xristianstefanov merged commit e0e52b0 into master Feb 10, 2026
@github-actions github-actions bot deleted the docs-prompt-box branch February 10, 2026 10:01
Copy link
Contributor

@ikoevska ikoevska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. I recommend taking a look at the comments and revisiting some of the content.


File attachment functionality is controlled through the `EnableFileSelect` parameter and configured using the [`PromptBoxFileSelectButtonSettings`](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.PromptBoxFileSelectButtonSettings) within the `PromptBoxSettings` section.

To enable file attachment functionality, set the `EnableFileSelect` parameter to `true`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To enable file attachment functionality, set the `EnableFileSelect` parameter to `true`:
To enable file attachment functionality, set the `EnableFileSelect` parameter to `true`.


The Blazor PromptBox component provides flexible adornment templates that allow you to add custom elements such as buttons, icons, or components around the input area. Adornments adapt intelligently to the current input mode, ensuring optimal layout and user experience.

You can also control the order of action buttons by arranging them within the templates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence seems a bit disjointed from the logical flow of the section. Either move it elsewhere or consider how to integrate it in the section.

@@ -0,0 +1,72 @@
---
title: Modes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not Input Modes?


* The user clicks the action button
* The user presses **Enter** (when content is available and not loading)
* The button state changes between Send and Stop modes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't seen any documentation about send and stop modes till this point? What are these?


### OnChange

The `OnChange` event represents a user confirmation of the current value. It is triggered when the input loses focus after the value has been changed during that focus session.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While correct, this entire paragraph is very hard to read. I strongly recommend rewriting it to make it less vague and more readable. Also, explain what is this current value that changes - is it the value of the input, is it some other value?


When speech-to-text functionality is enabled, the PromptBox provides events through the [`PromptBoxSpeechToTextButtonSettings`](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.PromptBoxSpeechToTextButtonSettings):

* OnStart: Fires when speech recognition begins.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get code formatting for the event names, please?

Also, the inconsistency between the docs here and the earlier docs is very noticeable. Earlier we had a section per event, now we have a bulleted list with no formatting.

}
````

## File Selection Events
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we expect to have multiple file selection events? Because right now we have only one.

@@ -0,0 +1,270 @@
---
title: Events
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was AI heavily involved in the creation of this page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants