-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CB-3753-1809-fr-add-field-hints-in-the-filter-field #3151
CB-3753-1809-fr-add-field-hints-in-the-filter-field #3151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
webapp/packages/core-blocks/src/FormControls/useInputAutocomplete.ts
Outdated
Show resolved
Hide resolved
webapp/packages/core-blocks/src/FormControls/useInputAutocomplete.ts
Outdated
Show resolved
Hide resolved
webapp/packages/core-blocks/src/FormControls/useInputAutocomplete.ts
Outdated
Show resolved
Hide resolved
webapp/packages/core-blocks/src/FormControls/InputAutocompletionMenu.tsx
Show resolved
Hide resolved
This reverts commit 92e6714.
…AutocompleteMenu use this context
} | ||
|
||
export interface InputAutocompleteProposal { | ||
id: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i suggest to remove this 'id' fields because:
- it's not in use
- it's just a "always" random string
please take a look at this: https://github.com/lucaong/react-minisearch |
webapp/packages/core-blocks/src/FormControls/InputAutocompletionMenu.tsx
Outdated
Show resolved
Hide resolved
webapp/packages/core-blocks/src/FormControls/useInputAutocomplete.ts
Outdated
Show resolved
Hide resolved
webapp/packages/plugin-data-viewer/src/TableViewer/TableHeader/useTableViewerHeaderData.ts
Outdated
Show resolved
Hide resolved
const contextMenuPosition = getComputed(() => ({ | ||
position, | ||
handleContextMenuOpen: () => {}, | ||
})); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getComputed will not help cuz function always returns new object (getComputed works if you can return stable value, for example for primitives)
No description provided.