diff --git a/Composer/packages/extensions/obiformeditor/src/Form/fields/PromptField/ChoiceInput/index.tsx b/Composer/packages/extensions/obiformeditor/src/Form/fields/PromptField/ChoiceInput/index.tsx index ecea6fd134..34daec23ba 100644 --- a/Composer/packages/extensions/obiformeditor/src/Form/fields/PromptField/ChoiceInput/index.tsx +++ b/Composer/packages/extensions/obiformeditor/src/Form/fields/PromptField/ChoiceInput/index.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { FieldProps, IdSchema } from '@bfcomposer/react-jsonschema-form'; import formatMessage from 'format-message'; -import { JSONSchema6 } from 'json-schema'; import { PromptFieldChangeHandler, GetSchema } from '../types'; import { CheckboxWidget } from '../../../widgets'; @@ -23,8 +22,6 @@ export const ChoiceInputSettings: React.FC = props => updater({ ...formData.choiceOptions, [field]: data }); }; - const recognizerOptionsSchema = getSchema('recognizerOptions'); - return ( <> = props => formContext={formContext} /> -
- onChange('recognizerOptions')({ noValue: data })} - schema={recognizerOptionsSchema.properties ? (recognizerOptionsSchema.properties.noValue as JSONSchema6) : {}} - id={idSchema.recognizerOptions && idSchema.recognizerOptions.__id} - value={formData.recognizerOptions} - label={formatMessage('Recognizer options: no value')} - formContext={formContext} - /> -
); };