Commit Graph

4111 Commits

Author SHA1 Message Date
Dillon Kearns
dfb9a81761 Fix tests. 2022-06-28 14:30:41 -07:00
Dillon Kearns
a72c1dc8a6 Make HTML Printer error messages more specific so they're easier to trace back to that module. 2022-06-28 13:20:28 -07:00
Dillon Kearns
dfe46878af Add withFallback helper. 2022-06-27 13:25:06 -07:00
Dillon Kearns
d93bb49e89 Define range in terms of other field validations. 2022-06-27 12:21:04 -07:00
Dillon Kearns
76f9429df9 Change select renderer to take (List ( Attr, String ) ) since custom HTML children aren't valid in that context. 2022-06-27 11:19:12 -07:00
Dillon Kearns
4dc24e12d3 Remove obsolete functions. 2022-06-27 10:58:35 -07:00
Dillon Kearns
3816a4baf6 Wrap Validation type in custom type wrapper. 2022-06-27 10:55:45 -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
5949fa7b31 Try new subGroup interface. 2022-06-24 11:31:16 -07:00
Dillon Kearns
8a05926ec0 Add sub-group form helper. 2022-06-24 08:56:41 -07:00
Dillon Kearns
9713e2f637 Add helper to fail dependent parser. 2022-06-23 10:48:50 -07:00
Dillon Kearns
adeb56b91a Regenerate docs. 2022-06-23 10:34:20 -07:00
Dillon Kearns
5e9492d45a Use new validated min/max field attributes in place of obsolete non-validated versions. 2022-06-23 10:29:28 -07:00
Dillon Kearns
3ea5ef6e3a Update docs. 2022-06-23 10:11:26 -07:00
Dillon Kearns
690d1fd26c Add a string compare implementation just in case. 2022-06-23 10:10:28 -07:00
Dillon Kearns
07fd32a1ed Remove unused field. 2022-06-23 10:08:12 -07:00
Dillon Kearns
6928e0cbbe Add minlength and maxlength. 2022-06-23 10:07:27 -07:00
Dillon Kearns
fabbec5d80 Add float field. 2022-06-23 09:36:22 -07:00
Dillon Kearns
7a655336f1 Add checked min/max field helpers. 2022-06-23 09:14:27 -07:00
Dillon Kearns
1830425a12 Add required int tests. 2022-06-23 07:41:55 -07:00
Dillon Kearns
b5b3296b05 Add some date parsing tests. 2022-06-23 07:22:48 -07:00
Dillon Kearns
fb1d6c5430 Fix optional int parsing for empty case. 2022-06-22 16:32:26 -07:00
Dillon Kearns
bd840d289f Add a field tests module. 2022-06-22 16:26:32 -07:00
Dillon Kearns
89278009be Fix tests. 2022-06-22 16:11:52 -07:00
Dillon Kearns
9f8395e1c6 Update docs. 2022-06-22 15:46:04 -07:00
Dillon Kearns
4b6857ff6c Remove completed todo. 2022-06-22 15:41:13 -07:00
Dillon Kearns
35cd187b38 Add isValid check for fetchers. 2022-06-22 15:38:07 -07:00
Dillon Kearns
2799aa7d57 Add a form rendering option for method. 2022-06-22 15:33:40 -07:00
Dillon Kearns
e3d1bee868 Wire through the data argument to formState in view function. 2022-06-22 14:45:00 -07:00
Dillon Kearns
2a530b48e6 Add render option for submit strategy. 2022-06-22 14:34:05 -07:00
Dillon Kearns
1bc2b2a315 Allow int fields to have int steps. 2022-06-22 13:57:40 -07:00
Dillon Kearns
4ce8ba2c28 Validate description length. 2022-06-21 10:53:35 -07:00
Dillon Kearns
ec5bc916c1 Include errors in ViewField. 2022-06-21 09:33:57 -07:00
Dillon Kearns
88d6a058f0 Change a heading name. 2022-06-21 09:26:30 -07:00
Dillon Kearns
a611c96959 Add (parsed : Maybe parsed) to field record for view. 2022-06-21 09:26:20 -07:00
Dillon Kearns
f492f9b068 Show submission status in submit button. 2022-06-21 08:42:27 -07:00
Dillon Kearns
2091ca3bdb Add create-group form example. 2022-06-21 08:38:46 -07:00
Dillon Kearns
aa13eebc52 Add textarea helper. 2022-06-21 08:38:27 -07:00
Dillon Kearns
883014b368 Use hardcoded transition submission for now instead of fetcher submissions in Form module. 2022-06-20 16:43:19 -07:00
Dillon Kearns
68a6d3fe38 Remove some dead code and track some todos. 2022-06-20 16:42:55 -07:00
Dillon Kearns
be86ceb2a2 Update docs. 2022-06-20 16:37:57 -07:00
Dillon Kearns
6d68a0c504 Inline variable. 2022-06-20 16:35:07 -07:00
Dillon Kearns
bda8eed9df Add type annotation. 2022-06-20 16:30:13 -07:00
Dillon Kearns
502abc6c54 Log dependent form example when received in action. 2022-06-20 15:30:00 -07:00
Dillon Kearns
4b88672817 Remove unused. 2022-06-20 15:22:23 -07:00
Dillon Kearns
57c215a4df Remove completed todo. 2022-06-20 15:21:49 -07:00
Dillon Kearns
369770df6e Render field errors in dynamic form example. 2022-06-20 15:18:52 -07:00
Dillon Kearns
b194671b9e Dynamic sub-form parsing renders views properly. 2022-06-20 15:13:27 -07:00