indicator-ui 0.0.192 → 0.0.194
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.js
CHANGED
|
@@ -10786,7 +10786,7 @@ const inputFieldComponent = (schema, key, additionProps) => {
|
|
|
10786
10786
|
// const saveKeyWay = typeof keyWay === 'string' ? [keyWay] : keyWay
|
|
10787
10787
|
additionProps.addPrivateRefStoreValue([...curKeyWayStore, keyWay], _ui__WEBPACK_IMPORTED_MODULE_3__.KEY_WAY_STORE_NAME);
|
|
10788
10788
|
additionProps.addPrivateRefStoreValue([...initFields, keyWay], _ui__WEBPACK_IMPORTED_MODULE_3__.INIT_FIELDS_NAME);
|
|
10789
|
-
onChange(value
|
|
10789
|
+
onChange(value != null ? value : schema.props.defaultValue);
|
|
10790
10790
|
}
|
|
10791
10791
|
}
|
|
10792
10792
|
const comp = schema.props.ownerInputComponent ? schema.props.ownerInputComponent : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_3__.InputField, {});
|