Skip to content

Commit 4fbd1f8

Browse files
committed
updated to pass the test
1 parent aa40fd8 commit 4fbd1f8

File tree

3 files changed

+3
-27
lines changed

3 files changed

+3
-27
lines changed

CHANGELOG.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -81,71 +81,48 @@ should change the heading of the (upcoming) version to include a major version b
8181

8282
- Modified `CheckboxesWidget` to render the Title, fixing ([#4840](https://github.com/rjsf-team/react-jsonschema-form/issues/4840))
8383
- Updated `CheckboxWidget` to handle label and description rendering consistently, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
84-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
85-
8684

8785
## @rjsf/core
8886

8987
- Fixed duplicate label and description rendering in `CheckboxWidget` by conditionally rendering them based on widget type
9088
- Updated `CheckboxWidget` to handle label and description rendering consistently
9189
- Modified `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
9290
- Updated `ObjectField` to change the removal of an additional property to defer the work to the `processPendingChange()` handler in `Form`, fixing [#4850](https://github.com/rjsf-team/react-jsonschema-form/issues/4850)
93-
- Updated `FallbackField` to support `object` and `array` types, and improved `ArrayField` so that it handles missing items properly with the fallback field
91+
- Added new `ADDITIONAL_PROPERTY_KEY_REMOVE` constant
9492

9593
## @rjsf/fluentui-rc
9694

9795
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
98-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
99-
100-
## @rjsf/daisyui
101-
102-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
103-
104-
10596

10697
## @rjsf/mantine
10798

10899
- Updated `CheckboxWidget` to handle label and description rendering consistently, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
109-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
110-
111100

112101
## @rjsf/mui
113102

114103
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
115-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
116-
117104

118105
## @rjsf/primereact
119106

120107
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
121-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
122-
123108

124109
## @rjsf/react-bootstrap
125110

126111
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
127-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
128-
129-
130112

131113
## @rjsf/semantic-ui
132114

133115
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
134-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
135-
136116

137117
## @rjsf/shadcn
138118

139119
- Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742))
140120
- Updated the `Command` component to properly handle `forwardRef`
141-
- Updated `FieldHelpTemplate` to render markdown when `ui:enableMarkdownInHelp` is true
142-
143121

144122
## @rjsf/utils
145123

146124
- Updated `getDefaultFormState()` to not save an undefined field value into an object when the type is `null` and `excludeObjectChildren` is provided, fixing [#4821](https://github.com/rjsf-team/react-jsonschema-form/issues/4821)
147-
148-
125+
- Added new `ADDITIONAL_PROPERTY_KEY_REMOVE` constant
149126
## Dev / docs / playground
150127

151128
- Updated the `OptionsDrawer` of the playground to add `idPrefix` and `idSeparator` fields

packages/core/src/components/templates/FieldHelpTemplate.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export default function FieldHelpTemplate<
2121
</p>
2222
);
2323
}
24-
2524
return (
2625
<div id={helpId(fieldPathId)} className='help-block'>
2726
<RichHelp help={help} registry={registry} uiSchema={uiSchema} />

packages/mantine/src/templates/FieldHelpTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function FieldHelpTemplate<
1111
S extends StrictRJSFSchema = RJSFSchema,
1212
F extends FormContextType = any,
1313
>(props: FieldHelpProps<T, S, F>) {
14-
const { fieldPathId, help, uiSchema = {}, registry } = props;
14+
const { fieldPathId, help, uiSchema, registry } = props;
1515

1616
if (!help) {
1717
return null;

0 commit comments

Comments
 (0)