Skip to content

Commit 046b34a

Browse files
committed
updated to pass the test
1 parent bc08e21 commit 046b34a

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

CHANGELOG.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -81,33 +81,22 @@ 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

@@ -118,28 +107,19 @@ should change the heading of the (upcoming) version to include a major version b
118107
## @rjsf/primereact
119108

120109
- 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-
123110

124111
## @rjsf/react-bootstrap
125112

126113
- 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-
130114

131115
## @rjsf/semantic-ui
132116

133117
- 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-
136118

137119
## @rjsf/shadcn
138120

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

144124
## @rjsf/utils
145125

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)