@rjsf/mantine 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +131 -124
- package/dist/index.cjs.map +2 -2
- package/dist/mantine.esm.js +84 -77
- package/dist/mantine.esm.js.map +3 -3
- package/dist/mantine.umd.js +41 -35
- package/lib/templates/ArrayFieldTitleTemplate.js +8 -4
- package/lib/templates/ArrayFieldTitleTemplate.js.map +1 -1
- package/lib/templates/BaseInputTemplate.js +15 -1
- package/lib/templates/BaseInputTemplate.js.map +1 -1
- package/lib/templates/FieldHelpTemplate.js +3 -3
- package/lib/templates/FieldHelpTemplate.js.map +1 -1
- package/lib/templates/FieldTemplate.js +1 -1
- package/lib/templates/FieldTemplate.js.map +1 -1
- package/lib/templates/WrapIfAdditionalTemplate.js +2 -2
- package/lib/templates/WrapIfAdditionalTemplate.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils.js +1 -0
- package/lib/utils.js.map +1 -1
- package/lib/widgets/CheckboxWidget.js +1 -3
- package/lib/widgets/CheckboxWidget.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/ArrayFieldTitleTemplate.tsx +13 -4
- package/src/templates/BaseInputTemplate.tsx +19 -22
- package/src/templates/FieldHelpTemplate.tsx +4 -5
- package/src/templates/FieldTemplate.tsx +2 -0
- package/src/templates/WrapIfAdditionalTemplate.tsx +24 -21
- package/src/utils.ts +1 -0
- package/src/widgets/CheckboxWidget.tsx +0 -5
package/lib/utils.js
CHANGED
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAA+B;IAChD,YAAY;IACZ,YAAY;IACZ,OAAO;IACP,MAAM;IACN,cAAc;IACd,UAAU;IACV,cAAc;IACd,WAAW;IACX,UAAU;IACV,OAAO;IACP,aAAa;IACb,QAAQ;IACR,WAAW;IACX,qBAAqB;IACrB,QAAQ;IACR,WAAW;IACX,SAAS;IACT,UAAU;IACV,WAAW;IACX,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,6BAA6B;CAC9B,CAAC;AAEF,MAAM,UAAU,cAAc,CAAmB,OAAU;IACzD,MAAM,MAAM,GAAG,EAAO,CAAC;IACvB,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,GAA0B,CAAC,EAAE,CAAC;YACxD,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IACD,OAAO,MAAsC,CAAC;AAChD,CAAC"}
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAA+B;IAChD,YAAY;IACZ,YAAY;IACZ,OAAO;IACP,OAAO;IACP,MAAM;IACN,cAAc;IACd,UAAU;IACV,cAAc;IACd,WAAW;IACX,UAAU;IACV,OAAO;IACP,aAAa;IACb,QAAQ;IACR,WAAW;IACX,qBAAqB;IACrB,QAAQ;IACR,WAAW;IACX,SAAS;IACT,UAAU;IACV,WAAW;IACX,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,6BAA6B;CAC9B,CAAC;AAEF,MAAM,UAAU,cAAc,CAAmB,OAAU;IACzD,MAAM,MAAM,GAAG,EAAO,CAAC;IACvB,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,GAA0B,CAAC,EAAE,CAAC;YACxD,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IACD,OAAO,MAAsC,CAAC;AAChD,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import { descriptionId, getTemplate, labelValue, ariaDescribedByIds, } from '@rjsf/utils';
|
|
4
4
|
import { Checkbox } from '@mantine/core';
|
|
5
|
-
import { cleanupOptions } from '../utils';
|
|
6
5
|
/** The `CheckBoxWidget` is a widget for rendering boolean properties.
|
|
7
6
|
* It is typically used to represent a boolean.
|
|
8
7
|
*
|
|
@@ -10,7 +9,6 @@ import { cleanupOptions } from '../utils';
|
|
|
10
9
|
*/
|
|
11
10
|
export default function CheckboxWidget(props) {
|
|
12
11
|
const { id, name, htmlName, value = false, required, disabled, readonly, autofocus, label, hideLabel, schema, rawErrors, options, onChange, onBlur, onFocus, registry, uiSchema, } = props;
|
|
13
|
-
const themeProps = cleanupOptions(options);
|
|
14
12
|
const DescriptionFieldTemplate = getTemplate('DescriptionFieldTemplate', registry, options);
|
|
15
13
|
const handleCheckboxChange = useCallback((e) => {
|
|
16
14
|
if (!disabled && !readonly && onChange) {
|
|
@@ -28,6 +26,6 @@ export default function CheckboxWidget(props) {
|
|
|
28
26
|
}
|
|
29
27
|
}, [onFocus, id]);
|
|
30
28
|
const description = options.description || schema.description;
|
|
31
|
-
return (_jsxs(_Fragment, { children: [!hideLabel && !!description && (_jsx(DescriptionFieldTemplate, { id: descriptionId(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry })), _jsx(Checkbox, { id: id, name: htmlName || name, label: labelValue(label || undefined, hideLabel, false), disabled: disabled || readonly, required: required, autoFocus: autofocus, checked: typeof value === 'undefined' ? false : value === 'true' || value, onChange: handleCheckboxChange, onBlur: handleBlur, onFocus: handleFocus, error: rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined, "aria-describedby": ariaDescribedByIds(id)
|
|
29
|
+
return (_jsxs(_Fragment, { children: [!hideLabel && !!description && (_jsx(DescriptionFieldTemplate, { id: descriptionId(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry })), _jsx(Checkbox, { id: id, name: htmlName || name, label: labelValue(label || undefined, hideLabel, false), disabled: disabled || readonly, required: required, autoFocus: autofocus, checked: typeof value === 'undefined' ? false : value === 'true' || value, onChange: handleCheckboxChange, onBlur: handleBlur, onFocus: handleFocus, error: rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined, "aria-describedby": ariaDescribedByIds(id) })] }));
|
|
32
30
|
}
|
|
33
31
|
//# sourceMappingURL=CheckboxWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxWidget.js","sourceRoot":"","sources":["../../src/widgets/CheckboxWidget.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAyC,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EACL,aAAa,EACb,WAAW,EAKX,UAAU,EACV,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC
|
|
1
|
+
{"version":3,"file":"CheckboxWidget.js","sourceRoot":"","sources":["../../src/widgets/CheckboxWidget.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAyC,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EACL,aAAa,EACb,WAAW,EAKX,UAAU,EACV,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAIpC,KAA2B;IAC3B,MAAM,EACJ,EAAE,EACF,IAAI,EACJ,QAAQ,EACR,KAAK,GAAG,KAAK,EACb,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,GACT,GAAG,KAAK,CAAC;IAEV,MAAM,wBAAwB,GAAG,WAAW,CAC1C,0BAA0B,EAC1B,QAAQ,EACR,OAAO,CACR,CAAC;IAEF,MAAM,oBAAoB,GAAG,WAAW,CACtC,CAAC,CAAgC,EAAE,EAAE;QACnC,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,IAAI,QAAQ,EAAE,CAAC;YACvC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EACD,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAC/B,CAAC;IAEF,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,EAAE,MAAM,EAAgC,EAAE,EAAE;QAC3C,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,CACb,CAAC;IAEF,MAAM,WAAW,GAAG,WAAW,CAC7B,CAAC,EAAE,MAAM,EAAgC,EAAE,EAAE;QAC3C,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC,EACD,CAAC,OAAO,EAAE,EAAE,CAAC,CACd,CAAC;IAEF,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,MAAM,CAAC,WAAW,CAAC;IAC9D,OAAO,CACL,8BACG,CAAC,SAAS,IAAI,CAAC,CAAC,WAAW,IAAI,CAC9B,KAAC,wBAAwB,IACvB,EAAE,EAAE,aAAa,CAAC,EAAE,CAAC,EACrB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACH,EACD,KAAC,QAAQ,IACP,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,QAAQ,IAAI,IAAI,EACtB,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,EACvD,QAAQ,EAAE,QAAQ,IAAI,QAAQ,EAC9B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,MAAM,IAAI,KAAK,EACzE,QAAQ,EAAE,oBAAoB,EAC9B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,sBACzD,kBAAkB,CAAC,EAAE,CAAC,GACxC,IACD,CACJ,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
RJSFSchema,
|
|
7
7
|
StrictRJSFSchema,
|
|
8
8
|
} from '@rjsf/utils';
|
|
9
|
-
import { Title } from '@mantine/core';
|
|
9
|
+
import { Grid, Title } from '@mantine/core';
|
|
10
10
|
|
|
11
11
|
/** The `ArrayFieldTitleTemplate` component renders a `TitleFieldTemplate` with an `id` derived from
|
|
12
12
|
* the `fieldPathId`.
|
|
@@ -18,16 +18,25 @@ export default function ArrayFieldTitleTemplate<
|
|
|
18
18
|
S extends StrictRJSFSchema = RJSFSchema,
|
|
19
19
|
F extends FormContextType = any,
|
|
20
20
|
>(props: ArrayFieldTitleProps<T, S, F>) {
|
|
21
|
-
const { fieldPathId, title, uiSchema, registry } = props;
|
|
21
|
+
const { fieldPathId, title, uiSchema, registry, optionalDataControl } = props;
|
|
22
22
|
|
|
23
23
|
const options = getUiOptions<T, S, F>(uiSchema, registry.globalUiOptions);
|
|
24
24
|
const { label: displayLabel = true } = options;
|
|
25
25
|
if (!title || !displayLabel) {
|
|
26
26
|
return null;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
let heading = title ? (
|
|
29
29
|
<Title id={titleId(fieldPathId)} order={4} fw='normal'>
|
|
30
30
|
{title}
|
|
31
31
|
</Title>
|
|
32
|
-
);
|
|
32
|
+
) : null;
|
|
33
|
+
if (optionalDataControl) {
|
|
34
|
+
heading = (
|
|
35
|
+
<Grid>
|
|
36
|
+
<Grid.Col span='auto'>{heading}</Grid.Col>
|
|
37
|
+
<Grid.Col span='content'>{optionalDataControl}</Grid.Col>
|
|
38
|
+
</Grid>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
return heading;
|
|
33
42
|
}
|
|
@@ -47,6 +47,7 @@ export default function BaseInputTemplate<
|
|
|
47
47
|
} = props;
|
|
48
48
|
|
|
49
49
|
const inputProps = getInputProps<T, S, F>(schema, type, options, false);
|
|
50
|
+
const description = hideLabel ? undefined : options.description || schema.description;
|
|
50
51
|
const themeProps = cleanupOptions(options);
|
|
51
52
|
|
|
52
53
|
const handleNumberChange = useCallback((value: number | string) => onChange(value), [onChange]);
|
|
@@ -74,44 +75,40 @@ export default function BaseInputTemplate<
|
|
|
74
75
|
[onFocus, id],
|
|
75
76
|
);
|
|
76
77
|
|
|
78
|
+
const componentProps = {
|
|
79
|
+
id,
|
|
80
|
+
name: htmlName || id,
|
|
81
|
+
label: labelValue(label || undefined, hideLabel, false),
|
|
82
|
+
required,
|
|
83
|
+
autoFocus: autofocus,
|
|
84
|
+
disabled: disabled || readonly,
|
|
85
|
+
onBlur: !readonly ? handleBlur : undefined,
|
|
86
|
+
onFocus: !readonly ? handleFocus : undefined,
|
|
87
|
+
placeholder,
|
|
88
|
+
error: rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined,
|
|
89
|
+
list: schema.examples ? examplesId(id) : undefined,
|
|
90
|
+
};
|
|
91
|
+
|
|
77
92
|
const input =
|
|
78
93
|
inputProps.type === 'number' || inputProps.type === 'integer' ? (
|
|
79
94
|
<NumberInput
|
|
80
|
-
id={id}
|
|
81
|
-
name={htmlName || id}
|
|
82
|
-
label={labelValue(label || undefined, hideLabel, false)}
|
|
83
|
-
required={required}
|
|
84
|
-
autoFocus={autofocus}
|
|
85
|
-
disabled={disabled || readonly}
|
|
86
|
-
onBlur={!readonly ? handleBlur : undefined}
|
|
87
95
|
onChange={!readonly ? handleNumberChange : undefined}
|
|
88
|
-
|
|
89
|
-
placeholder={placeholder}
|
|
90
|
-
error={rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined}
|
|
91
|
-
list={schema.examples ? examplesId(id) : undefined}
|
|
96
|
+
{...componentProps}
|
|
92
97
|
{...inputProps}
|
|
93
98
|
{...themeProps}
|
|
94
99
|
step={typeof inputProps.step === 'number' ? inputProps.step : 1}
|
|
95
100
|
type='text'
|
|
101
|
+
description={description}
|
|
96
102
|
value={value}
|
|
97
103
|
aria-describedby={ariaDescribedByIds(id, !!schema.examples)}
|
|
98
104
|
/>
|
|
99
105
|
) : (
|
|
100
106
|
<TextInput
|
|
101
|
-
id={id}
|
|
102
|
-
name={htmlName || id}
|
|
103
|
-
label={labelValue(label || undefined, hideLabel, false)}
|
|
104
|
-
required={required}
|
|
105
|
-
autoFocus={autofocus}
|
|
106
|
-
disabled={disabled || readonly}
|
|
107
|
-
onBlur={!readonly ? handleBlur : undefined}
|
|
108
107
|
onChange={!readonly ? handleChange : undefined}
|
|
109
|
-
|
|
110
|
-
placeholder={placeholder}
|
|
111
|
-
error={rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined}
|
|
112
|
-
list={schema.examples ? examplesId(id) : undefined}
|
|
108
|
+
{...componentProps}
|
|
113
109
|
{...inputProps}
|
|
114
110
|
{...themeProps}
|
|
111
|
+
description={description}
|
|
115
112
|
value={value}
|
|
116
113
|
aria-describedby={ariaDescribedByIds(id, !!schema.examples)}
|
|
117
114
|
/>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { helpId, FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
2
2
|
import { Text } from '@mantine/core';
|
|
3
|
+
import { RichHelp } from '@rjsf/core';
|
|
3
4
|
|
|
4
5
|
/** The `FieldHelpTemplate` component renders any help desired for a field
|
|
5
6
|
*
|
|
@@ -10,17 +11,15 @@ export default function FieldHelpTemplate<
|
|
|
10
11
|
S extends StrictRJSFSchema = RJSFSchema,
|
|
11
12
|
F extends FormContextType = any,
|
|
12
13
|
>(props: FieldHelpProps<T, S, F>) {
|
|
13
|
-
const { fieldPathId, help } = props;
|
|
14
|
+
const { fieldPathId, help, uiSchema, registry } = props;
|
|
14
15
|
|
|
15
16
|
if (!help) {
|
|
16
17
|
return null;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
const id = helpId(fieldPathId);
|
|
20
|
-
|
|
21
20
|
return (
|
|
22
|
-
<Text id={
|
|
23
|
-
{help}
|
|
21
|
+
<Text id={helpId(fieldPathId)} size='sm' my='xs' c='dimmed'>
|
|
22
|
+
<RichHelp help={help} registry={registry} uiSchema={uiSchema} />
|
|
24
23
|
</Text>
|
|
25
24
|
);
|
|
26
25
|
}
|
|
@@ -25,6 +25,8 @@ export default function WrapIfAdditionalTemplate<
|
|
|
25
25
|
classNames,
|
|
26
26
|
style,
|
|
27
27
|
label,
|
|
28
|
+
displayLabel,
|
|
29
|
+
rawDescription,
|
|
28
30
|
required,
|
|
29
31
|
readonly,
|
|
30
32
|
disabled,
|
|
@@ -61,32 +63,33 @@ export default function WrapIfAdditionalTemplate<
|
|
|
61
63
|
<Flex gap='xs' align='end' justify='center'>
|
|
62
64
|
<Grid w='100%' align='center'>
|
|
63
65
|
<Grid.Col span={6} className='form-additional'>
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</div>
|
|
66
|
+
<TextInput
|
|
67
|
+
className='form-group'
|
|
68
|
+
label={displayLabel ? keyLabel : undefined}
|
|
69
|
+
defaultValue={label}
|
|
70
|
+
required={required}
|
|
71
|
+
description={rawDescription ? '\u00A0' : undefined}
|
|
72
|
+
disabled={disabled || readonly}
|
|
73
|
+
id={`${id}-key`}
|
|
74
|
+
name={`${id}-key`}
|
|
75
|
+
onBlur={!readonly ? onKeyRenameBlur : undefined}
|
|
76
|
+
/>
|
|
76
77
|
</Grid.Col>
|
|
77
78
|
<Grid.Col span={6} className='form-additional'>
|
|
78
79
|
{children}
|
|
79
80
|
</Grid.Col>
|
|
80
81
|
</Grid>
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
82
|
+
<div>
|
|
83
|
+
<RemoveButton
|
|
84
|
+
id={buttonId(id, 'remove')}
|
|
85
|
+
iconType='sm'
|
|
86
|
+
className='rjsf-array-item-remove'
|
|
87
|
+
disabled={disabled || readonly}
|
|
88
|
+
onClick={onRemoveProperty}
|
|
89
|
+
uiSchema={buttonUiOptions}
|
|
90
|
+
registry={registry}
|
|
91
|
+
/>
|
|
92
|
+
</div>
|
|
90
93
|
</Flex>
|
|
91
94
|
</div>
|
|
92
95
|
);
|
package/src/utils.ts
CHANGED
|
@@ -11,8 +11,6 @@ import {
|
|
|
11
11
|
} from '@rjsf/utils';
|
|
12
12
|
import { Checkbox } from '@mantine/core';
|
|
13
13
|
|
|
14
|
-
import { cleanupOptions } from '../utils';
|
|
15
|
-
|
|
16
14
|
/** The `CheckBoxWidget` is a widget for rendering boolean properties.
|
|
17
15
|
* It is typically used to represent a boolean.
|
|
18
16
|
*
|
|
@@ -44,8 +42,6 @@ export default function CheckboxWidget<
|
|
|
44
42
|
uiSchema,
|
|
45
43
|
} = props;
|
|
46
44
|
|
|
47
|
-
const themeProps = cleanupOptions(options);
|
|
48
|
-
|
|
49
45
|
const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(
|
|
50
46
|
'DescriptionFieldTemplate',
|
|
51
47
|
registry,
|
|
@@ -104,7 +100,6 @@ export default function CheckboxWidget<
|
|
|
104
100
|
onFocus={handleFocus}
|
|
105
101
|
error={rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined}
|
|
106
102
|
aria-describedby={ariaDescribedByIds(id)}
|
|
107
|
-
{...themeProps}
|
|
108
103
|
/>
|
|
109
104
|
</>
|
|
110
105
|
);
|