feat: mention suggestions, allow space
This commit is contained in:
parent
74d665691f
commit
0fc9eeecaa
|
|
@ -148,6 +148,7 @@ export const suggestion = (
|
|||
let component: any;
|
||||
|
||||
return {
|
||||
allowSpaces: true,
|
||||
items: async ({ query }: { query: string }) => {
|
||||
if (!query || query.length < 2) {
|
||||
component.updateProps({ loading: true, stop: true });
|
||||
|
|
|
|||
Loading…
Reference in New Issue