Commit Graph

56 Commits

Author SHA1 Message Date
Dillon Kearns
c6edfdc56b Review fixes. 2022-08-24 09:46:47 -07:00
Dillon Kearns
0b05b5c03c Use higher precedence for matching on hiddenKind. 2022-08-24 08:17:56 -07:00
Dillon Kearns
255cd8c6a4 Update form parsing logic with new server form parsers. 2022-08-23 15:38:10 -07:00
Dillon Kearns
a106496052 Update tests to use new combined forms type. 2022-08-23 15:12:42 -07:00
Dillon Kearns
32c451fe82 Remove obsolete function. 2022-08-03 09:52:51 +02:00
Dillon Kearns
fb8e23e5b6 Change argument order. 2022-07-25 15:15:45 +02:00
Dillon Kearns
d234d7d9b7 Review fixes. 2022-07-24 21:33:03 +02:00
Dillon Kearns
f1f25f787e Rename types. 2022-07-24 21:00:47 +02:00
Dillon Kearns
f84be86bcc Fix error. 2022-07-24 20:43:04 +02:00
Dillon Kearns
6757b27ea4 Rename types. 2022-07-24 20:20:05 +02:00
Dillon Kearns
ea22871b65 Change Validation type to support constraints for named fields with new design. 2022-07-24 15:06:07 +02:00
Dillon Kearns
c853df574b Rename functions. 2022-07-24 09:21:55 +02:00
Dillon Kearns
0c4e76c247 Rename functions. 2022-07-24 09:12:31 +02:00
Dillon Kearns
c37eb3668e Rename functions. 2022-07-24 09:11:12 +02:00
Dillon Kearns
02c5a7a613 Rename type. 2022-07-24 09:08:15 +02:00
Dillon Kearns
30cbc970de Remove unused. 2022-07-24 09:04:15 +02:00
Dillon Kearns
7c843b714f Migrate test case. 2022-07-23 20:20:22 +02:00
Dillon Kearns
c31f1b43ed Migrate a test case. 2022-07-23 20:16:32 +02:00
Dillon Kearns
fc6d544558 Migrate more tests. 2022-07-23 11:12:23 +02:00
Dillon Kearns
93e2afc158 Migrate more test cases. 2022-07-23 08:51:24 +02:00
Dillon Kearns
0e2ab10e50 Migrate some test cases. 2022-07-23 08:48:44 +02:00
Dillon Kearns
1a588ed576 Fix tests. 2022-07-09 08:30:13 -07:00
Dillon Kearns
102d27c84b Update docs. 2022-07-08 18:00:30 -07:00
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
44c2b0a6f5 Apply fixes. 2022-06-30 09:54:25 -07:00
Dillon Kearns
dfb9a81761 Fix tests. 2022-06-28 14:30:41 -07:00
Dillon Kearns
b82602e18f Add Validation.withErrorIf helper. 2022-06-27 10:24:34 -07:00
Dillon Kearns
b6d03955bc Fix test failure. 2022-06-25 15:38:15 -07:00
Dillon Kearns
669bc2e53f Run dependent validations even if an individual field fails so that you can have more fine-grained control over dependent errors. 2022-06-25 14:30:31 -07:00
Dillon Kearns
9713e2f637 Add helper to fail dependent parser. 2022-06-23 10:48:50 -07:00
Dillon Kearns
89278009be Fix tests. 2022-06-22 16:11:52 -07:00
Dillon Kearns
58c7a84038 Add basic prototype for dependent form parsing. 2022-06-20 14:20:39 -07:00
Dillon Kearns
0e682cba4b Rename module. 2022-06-18 10:34:55 -07:00
Dillon Kearns
6a464f4418 Fix form tests. 2022-05-11 15:37:18 -07:00
Dillon Kearns
4424929c0c Review fixes. 2022-03-11 11:52:33 -08:00
Dillon Kearns
1e2f4981ed Comment out test case that's still in the design stage. 2022-03-04 09:39:33 -08:00
Dillon Kearns
0e3958a71c Review fixes. 2022-01-27 20:21:49 -08:00
Dillon Kearns
9619e3e199 Apply some elm-review fixes. 2022-01-27 16:03:42 -08:00
Dillon Kearns
de3a740165 Add float input type, and handle validation errors for int and float inputs. 2022-01-17 10:32:08 -08:00
Dillon Kearns
80c85a1abe Run min/max validations against range input in pure Elm to ensure that UI isn't bypassed. 2022-01-17 09:56:20 -08:00
Dillon Kearns
22b3b54799 Use phantom types to reduce the number of cominations of functions for setting values with different types. 2022-01-16 15:29:06 -08:00
Dillon Kearns
d5478db009 Add time input. 2022-01-16 14:31:08 -08:00
Dillon Kearns
a769a3e569 Fix tests. 2022-01-15 19:29:30 -08:00
Dillon Kearns
6b7c4586c9 Run field-level errors and form-level errors independently to avoid duplicates but get them in real-time. 2022-01-15 09:06:19 -08:00
Dillon Kearns
9c922c8f40 Run field-level validations on field change. Preparing for change to store dependent validation results separately so they can be updated independently. 2022-01-14 15:28:17 -08:00
Dillon Kearns
84e7d9d157 Use user-defined errors instead of a set list of validation errors. 2022-01-14 08:46:35 -08:00
Dillon Kearns
b8e7a47e34 Give multiple errors for non-fatal validation errors. 2022-01-13 14:18:53 -08:00
Dillon Kearns
90d6bc821d Add ability to do dependent validations looking at entire form value. 2022-01-13 09:06:58 -08:00
Dillon Kearns
a875161a8a Fix tests. 2022-01-11 09:33:45 -08:00