Răsfoiți Sursa

docs: fix typo in baseForm.tsx

- formS tate.values -> formState.values
ivan0525 4 ani în urmă
părinte
comite
9afd66511a
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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;