Commit 92ef7e1
fix(form-core): fix fields being stale on array changes (#1729)
* add 'found' property to getBy
* WIP: for testing
* ci: apply automated fixes and generate docs
* refactor metaHelper for clarity
* add baseStore to fieldApi
* chore: remove dead code from metaHelper
* chore: let's see what sticks
* chore: remove unneeded additional store
* fix undefined errors being passed to fieldMeta
* remove unused import
* chore: add tests for vue
* chore: clean up previous drafts
* remove unrelated unit test diff
* fix: prevent defaultValue regression
* chore: adjust unit tests's target value
* fix: adhere to rules of react for useField
* chore: add solidjs unit test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>1 parent 75be351 commit 92ef7e1
File tree
10 files changed
+430
-164
lines changed- packages
- form-core
- src
- tests
- react-form
- src
- tests
- solid-form/tests
10 files changed
+430
-164
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
1052 | 1053 | | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | | - | |
| 1056 | + | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
| |||
1151 | 1152 | | |
1152 | 1153 | | |
1153 | 1154 | | |
1154 | | - | |
1155 | | - | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
1156 | 1159 | | |
1157 | 1160 | | |
1158 | 1161 | | |
| |||
1162 | 1165 | | |
1163 | 1166 | | |
1164 | 1167 | | |
1165 | | - | |
1166 | 1168 | | |
1167 | 1169 | | |
1168 | 1170 | | |
1169 | 1171 | | |
1170 | 1172 | | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1171 | 1183 | | |
1172 | 1184 | | |
1173 | 1185 | | |
| |||
1196 | 1208 | | |
1197 | 1209 | | |
1198 | 1210 | | |
1199 | | - | |
1200 | | - | |
1201 | 1211 | | |
1202 | 1212 | | |
1203 | 1213 | | |
| |||
1232 | 1242 | | |
1233 | 1243 | | |
1234 | 1244 | | |
1235 | | - | |
1236 | | - | |
| 1245 | + | |
| 1246 | + | |
1237 | 1247 | | |
1238 | 1248 | | |
1239 | 1249 | | |
| |||
1309 | 1319 | | |
1310 | 1320 | | |
1311 | 1321 | | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
| 1322 | + | |
1315 | 1323 | | |
1316 | 1324 | | |
1317 | 1325 | | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1331 | 1330 | | |
| 1331 | + | |
| 1332 | + | |
1332 | 1333 | | |
1333 | 1334 | | |
1334 | 1335 | | |
1335 | 1336 | | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
| 1337 | + | |
| 1338 | + | |
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
| 1074 | + | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
| 1080 | + | |
1083 | 1081 | | |
1084 | 1082 | | |
1085 | 1083 | | |
1086 | 1084 | | |
1087 | | - | |
| 1085 | + | |
1088 | 1086 | | |
1089 | 1087 | | |
1090 | 1088 | | |
| |||
1112 | 1110 | | |
1113 | 1111 | | |
1114 | 1112 | | |
1115 | | - | |
| 1113 | + | |
1116 | 1114 | | |
1117 | 1115 | | |
1118 | 1116 | | |
1119 | | - | |
| 1117 | + | |
1120 | 1118 | | |
1121 | 1119 | | |
1122 | 1120 | | |
| |||
2347 | 2345 | | |
2348 | 2346 | | |
2349 | 2347 | | |
2350 | | - | |
| 2348 | + | |
2351 | 2349 | | |
2352 | 2350 | | |
2353 | 2351 | | |
| |||
2408 | 2406 | | |
2409 | 2407 | | |
2410 | 2408 | | |
2411 | | - | |
| 2409 | + | |
2412 | 2410 | | |
2413 | 2411 | | |
2414 | 2412 | | |
| |||
2443 | 2441 | | |
2444 | 2442 | | |
2445 | 2443 | | |
2446 | | - | |
| 2444 | + | |
2447 | 2445 | | |
2448 | 2446 | | |
2449 | 2447 | | |
| |||
2475 | 2473 | | |
2476 | 2474 | | |
2477 | 2475 | | |
2478 | | - | |
| 2476 | + | |
2479 | 2477 | | |
2480 | 2478 | | |
2481 | 2479 | | |
| |||
0 commit comments