Skip to content

Commit

Permalink
Add MDEditorControl to itemControlComponents
Browse files Browse the repository at this point in the history
Required to force MDEditorControl be fully built and added to `dist`
when using fhir-emr as package
  • Loading branch information
alexlipovka committed Dec 3, 2024
1 parent 866d9c1 commit 60cb762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/BaseQuestionnaireResponseForm/controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
Gtable,
QuestionQuantity,
Grid,
MDEditorControl,
} from './widgets';
import { Display } from './widgets/display';
import { GroupWizard, GroupWizardWithTooltips } from './widgets/GroupWizard';
Expand Down Expand Up @@ -64,6 +65,7 @@ export const itemControlComponents: ItemControlQuestionItemComponentMapping = {
'reference-radio-button': ReferenceRadioButton,
'check-box': InlineChoice,
'input-inside-text': QuestionInputInsideText,
'markdown-editor': MDEditorControl,
};

export const groupControlComponents: ItemControlGroupItemComponentMapping = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export * from './insideText';
export * from './boolean';
export * from './TimeRangePickerControl';
export * from './DateTimeSlotPicker';
export * from './UploadFileControl'
export * from './UploadFileControl';
export * from './MDEditorControl';

0 comments on commit 60cb762

Please sign in to comment.