Explorar o código

docs: fix typo in baseForm.tsx

- formS tate.values -> formState.values
ivan0525 %!s(int64=4) %!d(string=hai) anos
pai
achega
9afd66511a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/semi-ui/form/baseForm.tsx

+ 2 - 2
packages/semi-ui/form/baseForm.tsx

@@ -54,7 +54,7 @@ class Form extends BaseComponent<BaseFormProps, BaseFormState> {
         /* Triggered from update, including field mount/unmount/value change/blur/verification status change/error prompt change, input parameter is formState, currentField */
         onChange: PropTypes.func,
         onReset: PropTypes.func,
-        // Triggered when the value of the form is updated, only when the value of the subfield changes. The entry parameter is formS tate.values
+        // Triggered when the value of the form is updated, only when the value of the subfield changes. The entry parameter is formState.values
         onValueChange: PropTypes.func,
         initValues: PropTypes.object,
         getFormApi: PropTypes.func,
@@ -288,4 +288,4 @@ class Form extends BaseComponent<BaseFormProps, BaseFormState> {
     }
 }
 
-export default Form;
+export default Form;