Skip to content

Commit

Permalink
Rename to customConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Feb 2, 2022
1 parent f33badc commit 27ee3f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/SearchBlock/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const SearchBlockSchema = ({ formData = {} }) => ({
'promptQueries',
'promptQueryInterval',
'debugQuery',
'extraQueryConfig',
'customConfig',
'enableNLP',
],
},
Expand Down Expand Up @@ -53,11 +53,11 @@ export const SearchBlockSchema = ({ formData = {} }) => ({
configPath: 'enableNLP',
},

extraQueryConfig: {
customConfig: {
widget: 'textarea',
title: 'Extra query configuration',
title: 'Custom configuration',
description:
'Enter a valid JSON object. It will be added to the query and it can overwrite existing query fields',
'Enter a valid JSON object. It will be added to the configuration and it can overwrite existing configuration fields',
default: '{}',

modifyConfig: (config, data) => {
Expand Down

0 comments on commit 27ee3f0

Please sign in to comment.