Skip to content

Commit

Permalink
[CPT-1479] Change multiselect field type
Browse files Browse the repository at this point in the history
  • Loading branch information
angelinastavniiciuc committed Jan 10, 2024
1 parent 87209b9 commit b599552
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/picasso-query-builder/src/types/query-builder.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { SelectProps } from '@toptal/picasso'
import type { ReactNode } from 'react'
import type {
Field as QueryBuilderField,
Expand Down Expand Up @@ -36,12 +37,8 @@ interface BooleanField
}
interface MultiSelectField
extends Omit<QueryBuilderField, 'inputType' | 'valueEditorType'> {
valueEditorType?: 'multiselect'
/**
* Allow search input reset
*/
enableResetSearch?: boolean
enableReset?: boolean
valueEditorType?: 'multiselect' &
Pick<SelectProps, 'enableReset' | 'enableResetSearch'>
}

interface AutoCompleteField
Expand Down

0 comments on commit b599552

Please sign in to comment.