mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 11:47:01 +00:00
fix(nc-gui): refactor user select input
This commit is contained in:
@@ -130,8 +130,8 @@ export const searchCompare = (source?: NestedArray<string | number | undefined>,
|
||||
*/
|
||||
export const antSelectFilterOption = (
|
||||
inputValue: string,
|
||||
option?: DefaultOptionType,
|
||||
searchKey: keyof DefaultOptionType | (keyof DefaultOptionType)[] = 'key',
|
||||
option?: DefaultOptionType | NcListItemType,
|
||||
searchKey: keyof DefaultOptionType | keyof NcListItemType | (keyof NcListItemType)[] | (keyof DefaultOptionType)[] = 'key',
|
||||
) => {
|
||||
if (!option) return false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user