You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Defined in [fieldState.ts:230](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L230)*
63
+
*Defined in [fieldState.ts:230](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L230)*
64
64
65
65
**Parameters:**
66
66
@@ -79,7 +79,7 @@ Name | Type | Default |
79
79
80
80
*Implementation of [ComposibleValidatable](../interfaces/composiblevalidatable.md).[$](../interfaces/composiblevalidatable.md#$)*
81
81
82
-
*Defined in [fieldState.ts:39](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L39)*
82
+
*Defined in [fieldState.ts:39](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L39)*
83
83
84
84
Value that has bean validated with no error, AKA "safe".
85
85
@@ -91,7 +91,7 @@ ___
91
91
92
92
*Implementation of [ComposibleValidatable](../interfaces/composiblevalidatable.md).[_activated](../interfaces/composiblevalidatable.md#_activated)*
93
93
94
-
*Defined in [fieldState.ts:15](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L15)*
94
+
*Defined in [fieldState.ts:15](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L15)*
95
95
96
96
If activated (with auto validation).
97
97
Field will only be activated when `validate()` or `onChange()` called.
@@ -102,7 +102,7 @@ ___
102
102
103
103
• **_error**? : *undefined | string*
104
104
105
-
*Defined in [fieldState.ts:64](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L64)*
105
+
*Defined in [fieldState.ts:64](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L64)*
106
106
107
107
The original error info of validation.
108
108
@@ -114,7 +114,7 @@ ___
114
114
115
115
*Implementation of [ComposibleValidatable](../interfaces/composiblevalidatable.md).[_validateStatus](../interfaces/composiblevalidatable.md#_validatestatus)*
116
116
117
-
*Defined in [fieldState.ts:52](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L52)*
117
+
*Defined in [fieldState.ts:52](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L52)*
118
118
119
119
The validate status.
120
120
@@ -124,7 +124,7 @@ ___
124
124
125
125
• **_value**: *TValue*
126
126
127
-
*Defined in [fieldState.ts:28](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L28)*
127
+
*Defined in [fieldState.ts:28](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L28)*
128
128
129
129
Value that reacts to `onChange` immediately.
130
130
You should only use it to bind with UI input componnet.
@@ -137,7 +137,7 @@ ___
137
137
138
138
*Implementation of [ComposibleValidatable](../interfaces/composiblevalidatable.md).[value](../interfaces/composiblevalidatable.md#value)*
139
139
140
-
*Defined in [fieldState.ts:34](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L34)*
140
+
*Defined in [fieldState.ts:34](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L34)*
141
141
142
142
Value that can be consumed by your code.
143
143
It's synced from `_value` with debounce of 200ms.
@@ -148,7 +148,7 @@ It's synced from `_value` with debounce of 200ms.
148
148
149
149
• **get dirty**(): *boolean*
150
150
151
-
*Defined in [fieldState.ts:20](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L20)*
151
+
*Defined in [fieldState.ts:20](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L20)*
152
152
153
153
If value has been touched (different with `initialValue`)
154
154
@@ -160,7 +160,7 @@ ___
160
160
161
161
• **get error**(): *undefined | string*
162
162
163
-
*Defined in [fieldState.ts:69](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L69)*
163
+
*Defined in [fieldState.ts:69](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L69)*
164
164
165
165
The error info of validation.
166
166
@@ -172,7 +172,7 @@ ___
172
172
173
173
• **get hasError**(): *boolean*
174
174
175
-
*Defined in [fieldState.ts:76](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L76)*
175
+
*Defined in [fieldState.ts:76](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L76)*
176
176
177
177
If the state contains error.
178
178
@@ -184,7 +184,7 @@ ___
184
184
185
185
• **get validated**(): *boolean*
186
186
187
-
*Defined in [fieldState.ts:84](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L84)*
187
+
*Defined in [fieldState.ts:84](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L84)*
188
188
189
189
If the validation has been done.
190
190
It does not means validation passed.
@@ -197,7 +197,7 @@ ___
197
197
198
198
• **get validating**(): *boolean*
199
199
200
-
*Defined in [fieldState.ts:57](https://github.com/qiniu/formstate-x/blob/4d17690/src/fieldState.ts#L57)*
200
+
*Defined in [fieldState.ts:57](https://github.com/qiniu/formstate-x/blob/f0b789c/src/fieldState.ts#L57)*
201
201
202
202
If the state is doing a validation.
203
203
@@ -209,7 +209,7 @@ If the state is doing a validation.
0 commit comments