Components

BaseFeedbackPrompt

“Was this helpful?” with yes and no, and an optional reason when the answer is no.

components/ui/BaseFeedbackPrompt.vue
View in the demo

Example

Was this helpful?
Was this helpful?

API

Props

Name
Type
Default
Description
questionstring—The question. Defaults to a translated “Was this helpful?”.
thanksstring—The message after answering.
reasons{ value: string; title: string; }[][]Options to ask why after “No”, each { value, title }.

Events

Name
Payload
Description
@answer[helpful: boolean, reason?: string | undefined](helpful, reason?).
© 2026 melsami UI.
Developer documentation for melsami UI.