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,
|
component: Component,
|
||||||
target: container,
|
target: container,
|
||||||
props: {
|
props: {
|
||||||
char: props?.text,
|
char: props?.text?.charAt(0),
|
||||||
query: props?.query,
|
query: props?.query,
|
||||||
command: (item) => {
|
command: (item) => {
|
||||||
props.command({ id: item.id, label: item.label });
|
props.command({ id: item.id, label: item.label });
|
||||||
|
|||||||
Reference in New Issue
Block a user