ish-ui 1.0.44 → 1.0.45
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.
|
@@ -21,7 +21,7 @@ function FormRadioButtons({ items, disabled, input: { value, onChange, name }, m
|
|
|
21
21
|
label,
|
|
22
22
|
labelAdornment)),
|
|
23
23
|
React.createElement(RadioGroup, Object.assign({ className: classes.group, value: value, onChange: (e) => onChange(e.target.value), row: row }, radioGroupProps), items
|
|
24
|
-
&& items.map((i, n) => (React.createElement(FormControlLabel, { key: n, value: i[valuePath], control: React.createElement(Radio, Object.assign({ color: color, id: `input-${n}-${name}`, name: name }, radioProps)), label: (React.createElement(Typography, { component: "span", variant: "body2" }, i[labelPath])), disabled: disabled
|
|
24
|
+
&& items.map((i, n) => (React.createElement(FormControlLabel, { key: n, value: i[valuePath], control: React.createElement(Radio, Object.assign({ color: color, id: `input-${n}-${name}`, name: name }, radioProps)), label: (React.createElement(Typography, { component: "span", variant: "body2" }, i[labelPath])), disabled: disabled })))),
|
|
25
25
|
React.createElement(FormHelperText, { classes: {
|
|
26
26
|
error: 'shakingError'
|
|
27
27
|
} }, error)));
|
package/dist/model/Fields.d.ts
CHANGED
|
@@ -219,6 +219,7 @@ export interface FormSwitchProps<IP> {
|
|
|
219
219
|
onClick?: AnyArgFunction;
|
|
220
220
|
}
|
|
221
221
|
export interface CheckboxFieldProps<IP> extends CheckboxProps {
|
|
222
|
+
inputRef?: MutableRefObject<any>;
|
|
222
223
|
input?: Partial<Omit<IP, 'onBlur'>> & {
|
|
223
224
|
onBlur?: AnyArgFunction;
|
|
224
225
|
};
|