mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-12 23:02:35 +00:00
fix(ui): chat input triggers correctly re-trigger on backspace (#22899)
This commit is contained in:
parent
c81b3ef9ce
commit
6089a55da6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue