rsuite 5.26.0 → 5.26.1
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/CHANGELOG.md +6 -0
- package/cjs/Form/Form.js +2 -0
- package/cjs/locales/index.d.ts +1 -1
- package/cjs/locales/index.js +2 -2
- package/dist/rsuite.js +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Form/Form.js +2 -0
- package/esm/locales/index.d.ts +1 -1
- package/esm/locales/index.js +1 -1
- package/package.json +1 -1
package/esm/Form/Form.js
CHANGED
|
@@ -213,6 +213,7 @@ var Form = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
213
213
|
* so use Ref to get future error
|
|
214
214
|
*/
|
|
215
215
|
var formError = omit(realFormErrorRef.current, [name]);
|
|
216
|
+
realFormErrorRef.current = formError;
|
|
216
217
|
setFormError(formError);
|
|
217
218
|
onCheck === null || onCheck === void 0 ? void 0 : onCheck(formError);
|
|
218
219
|
}, [onCheck, setFormError]);
|
|
@@ -222,6 +223,7 @@ var Form = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
222
223
|
* so use Ref to get future value
|
|
223
224
|
*/
|
|
224
225
|
var formValue = omit(realFormValueRef.current, [name]);
|
|
226
|
+
realFormValueRef.current = formValue;
|
|
225
227
|
setFormValue(formValue);
|
|
226
228
|
onChange === null || onChange === void 0 ? void 0 : onChange(formValue);
|
|
227
229
|
}, [onChange, setFormValue]);
|
package/esm/locales/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { default as ruRU } from './ru_RU';
|
|
|
16
16
|
export { default as svSE } from './sv_SE';
|
|
17
17
|
export { default as trTR } from './tr_TR';
|
|
18
18
|
export { default as zhCN } from './zh_CN';
|
|
19
|
-
export { default as
|
|
19
|
+
export { default as zhTW } from './zh_TW';
|
|
20
20
|
export { default as faIR } from './fa_IR';
|
|
21
21
|
export { default as frFR } from './fr_FR';
|
|
22
22
|
declare type PickKeys<T> = {
|
package/esm/locales/index.js
CHANGED
|
@@ -15,6 +15,6 @@ export { default as ruRU } from './ru_RU';
|
|
|
15
15
|
export { default as svSE } from './sv_SE';
|
|
16
16
|
export { default as trTR } from './tr_TR';
|
|
17
17
|
export { default as zhCN } from './zh_CN';
|
|
18
|
-
export { default as
|
|
18
|
+
export { default as zhTW } from './zh_TW';
|
|
19
19
|
export { default as faIR } from './fa_IR';
|
|
20
20
|
export { default as frFR } from './fr_FR';
|