Skip to content

Commit

Permalink
refactor(24369): turn discovery browser off
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Jul 19, 2024
1 parent e49a55b commit 02d78a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { RegistryWidgetsType, UiSchema } from '@rjsf/utils'
import AdapterTagSelect from '@/components/rjsf/Widgets/AdapterTagSelect.tsx'

export const getRequiredUiSchema = (uiSchema: UiSchema | undefined, isNewAdapter: boolean): UiSchema => {
const { ['ui:submitButtonOptions']: submitButtonOptions, id, ...rest } = uiSchema || {}
Expand All @@ -19,5 +18,6 @@ export const getRequiredUiSchema = (uiSchema: UiSchema | undefined, isNewAdapter
}

export const adapterJSFWidgets: RegistryWidgetsType = {
'discovery:tagBrowser': AdapterTagSelect,
// @ts-ignore [24369] Turn discovery browser off (and replace by regular text input)
'discovery:tagBrowser': 'text',
}

0 comments on commit 02d78a8

Please sign in to comment.