Commit Graph

4222 Commits

Author SHA1 Message Date
Dillon Kearns
ecf5718df1 Wire through server validations from fields into form runner. 2022-06-30 08:18:30 -07:00
Dillon Kearns
4cdd215dad Remove testing DataSource from hackernews demo. 2022-06-29 13:32:50 -07:00
Dillon Kearns
e861c71ce6 Force build. 2022-06-29 12:47:37 -07:00
Dillon Kearns
4d0f9a8708 Prevent duplicate leading file path by using resolve instead of prepending cwd. 2022-06-29 12:45:33 -07:00
Dillon Kearns
6850d98562 Fix hackernews example. 2022-06-29 12:13:34 -07:00
Dillon Kearns
f1a2c3c0a9 Add scaffolding for running server-side validations. Remove deprecated form parsing Server.Request API. 2022-06-29 10:57:30 -07:00
Dillon Kearns
fd9a998641 Try installing lamdera-next for GH CI. 2022-06-29 09:36:30 -07:00
Dillon Kearns
3e78e1deea Add time of day picker field. 2022-06-29 09:16:51 -07:00
Dillon Kearns
22d616593b Try resetting cache to fix GH CI error. 2022-06-29 09:04:53 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
da6e7d7313 Remove some Debug statements. 2022-06-28 14:48:57 -07:00
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