mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 04:50:11 +02:00
fix(ui): chat input triggers correctly re-trigger on backspace (#22899)
This commit is contained in:
@@ -22,7 +22,7 @@ export function getSuggestionRenderer(Component: any, ComponentProps = {}) {
|
||||
component: Component,
|
||||
target: container,
|
||||
props: {
|
||||
char: props?.text,
|
||||
char: props?.text?.charAt(0),
|
||||
query: props?.query,
|
||||
command: (item) => {
|
||||
props.command({ id: item.id, label: item.label });
|
||||
|
||||
Reference in New Issue
Block a user