You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix 2280 by moving the bootstrap 3 marker classes out of SchemaField
Fixed#2280 by moving marker classes from `SchemaField` to `WrapIfAdditionalTemplate`
- In `@rjsf/utils`, updated `WrapIfAdditionalTemplateProps` to pick up the `hideError` and `rawErrors` props from `FieldTemplateProps`
- In `@rjsf/core`, updated `SchemaField` to move the `form-group` and `field` marker classes to the `WrapIfAdditionalTemplate`
- Also moved the `field-error`, `has-error` and `has-danger` error marker classes
- Updated the grid snapshot due to the change
- Updated the snapshots in other themes due to the removed marker classes
- Updated the `CHANGELOG_v6.md` and `v6x upgrade guide.md` to reflect these changes
Copy file name to clipboardExpand all lines: CHANGELOG_v6.md
+12
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,14 @@ should change the heading of the (upcoming) version to include a major version b
25
25
- BREAKING CHANGE: Removed support for version 4 of `antd`
26
26
- Updated `ArrayFieldItemTemplate` to replace `Button.Group` with `Space.Compact` since `Button.Group` is deprecated in `antd` version 5
27
27
- Upgraded to `@ant-design/icon@5`
28
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
28
29
29
30
## @rjsf/chakra-ui
30
31
31
32
- BREAKING CHANGE: Refactored `ArrayFieldItemTemplate` to use the new `ArrayFieldItemButtonsTemplate`
32
33
- Updated the `ArrayFieldTemplate`, `ObjectFieldTemplate`, and `WrapIfAdditionalTemplate` to a unique id using the `buttonId()` function and adding consistent marker classes
33
34
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
35
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
34
36
35
37
## @rjsf/core
36
38
@@ -41,6 +43,7 @@ should change the heading of the (upcoming) version to include a major version b
41
43
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
42
44
- Implemented the new `LayoutGridField`, `LayoutMultiSchemaField` and `LayoutHeaderField` fields, adding them to the `fields` list
43
45
- BREAKING CHANGE: Removed support for the deprecated `schema.enumNames` and `uiSchema.classNames` as well as the deprecated `acceptcharset` prop on `Form`
46
+
- BREAKING CHANGE: Moved the addition of `Bootstrap 3` marker classes from the `SchemaField` to the `WrapIfAdditionalTemplate`, thereby affecting all of the other themes, fixing [#2280](https://github.com/rjsf-team/react-jsonschema-form/issues/2280)
44
47
45
48
## @rjsf/daisyui
46
49
@@ -55,19 +58,27 @@ should change the heading of the (upcoming) version to include a major version b
55
58
- BREAKING CHANGE: Refactored `ArrayFieldItemTemplate` to use the new `ArrayFieldItemButtonsTemplate`
56
59
- Updated the `ArrayFieldTemplate`, `ObjectFieldTemplate`, and `WrapIfAdditionalTemplate` to a unique id using the `buttonId()` function and adding consistent marker classes
57
60
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
61
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
62
+
63
+
## @rjsf/material-ui
64
+
65
+
- BREAKING CHANGE: Deleted this theme in favor of `mui`
58
66
59
67
## @rjsf/mui
60
68
61
69
- BREAKING CHANGE: Refactored `ArrayFieldItemTemplate` to use the new `ArrayFieldItemButtonsTemplate`
62
70
- Updated the `ArrayFieldTemplate`, `ObjectFieldTemplate`, and `WrapIfAdditionalTemplate` to a unique id using the `buttonId()` function and adding consistent marker classes
63
71
- Updated the theme to use `Grid2` instead of the deprecated `Grid`
64
72
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
73
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
65
74
66
75
## @rjsf/semantic-ui
67
76
68
77
- BREAKING CHANGE: Refactored `ArrayFieldItemTemplate` to use the new `ArrayFieldItemButtonsTemplate`
69
78
- Updated the `ArrayFieldTemplate`, `ObjectFieldTemplate`, and `WrapIfAdditionalTemplate` to a unique id using the `buttonId()` function and adding consistent marker classes
70
79
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
80
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
81
+
- BREAKING CHANGE: Removed the addition of `Bootstrap 3` marker classes from the `SchemaField`, thereby changing theme `FieldTemplate` className prop output and associated snapshots
71
82
72
83
## @rjsf/shadcn
73
84
@@ -96,6 +107,7 @@ should change the heading of the (upcoming) version to include a major version b
96
107
- BREAKING CHANGE: Removed the deprecated `getMatchingOption()` and `mergeValidationData()` from the library export and the `SchemaUtilsType` interface
97
108
- BREAKING CHANGE: Removed the deprecated `toErrorList()` function from the `ValidatorType` interface
98
109
- BREAKING CHANGE: Removed the deprecated `RJSF_ADDITONAL_PROPERTIES_FLAG` constant
110
+
- Updated the `WrapIfAdditionalTemplateProps` to include `hideError` and `rawErrors` in support of moving `Bootstrap 3` marker classes out of `SchemaField`
0 commit comments