Commit Graph

4032 Commits

Author SHA1 Message Date
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
Dillon Kearns
58c7a84038 Add basic prototype for dependent form parsing. 2022-06-20 14:20:39 -07:00
Dillon Kearns
2106942458 Reorder some docs. 2022-06-19 08:18:09 -07:00
Dillon Kearns
87fa08a016 Use different approach for defining increment/decrement form parser. 2022-06-18 18:06:58 -07:00
Dillon Kearns
b48d529392 Expose FieldRenderer module. 2022-06-18 10:55:30 -07:00
Dillon Kearns
0e682cba4b Rename module. 2022-06-18 10:34:55 -07:00
Dillon Kearns
d5b6c5bd47 Rename module. 2022-06-18 10:29:41 -07:00
Dillon Kearns
80e63c3529 Re-use helper function for merging results. 2022-06-18 10:26:32 -07:00
Dillon Kearns
3a38135957 Only return parsed results (no rendered view) from form parse function. 2022-06-18 10:23:23 -07:00
Dillon Kearns
6bfd076baf Rename function. 2022-06-18 10:20:41 -07:00
Dillon Kearns
203ef32bea Add styled form render function. 2022-06-18 10:17:26 -07:00
Dillon Kearns
9b5a1871b3 Rename function. 2022-06-18 10:02:59 -07:00
Dillon Kearns
814794db19 Rename some types. 2022-06-18 10:01:36 -07:00
Dillon Kearns
3e44e8eccc Add test case for non-matching password confirmation. 2022-06-18 09:52:54 -07:00
Dillon Kearns
df16cf19fc Allow form parser combining function to do dependent field errors. 2022-06-18 08:44:57 -07:00
Dillon Kearns
c653bad6a4 Remove unused. 2022-06-17 09:34:04 -07:00
Dillon Kearns
eed1fb1115 Regenerate docs. 2022-06-16 12:04:11 -07:00
Dillon Kearns
5bbcc21998 Remove obsolete form parser version. 2022-06-16 12:03:54 -07:00
Dillon Kearns
4dc3921dfb Regenerate docs. 2022-06-16 11:30:31 -07:00
Dillon Kearns
6dba93b980 Rename type. 2022-06-16 11:30:17 -07:00
Dillon Kearns
11a3e623e7 Add a renderer for radio buttons. 2022-06-16 11:29:27 -07:00
Dillon Kearns
26792db293 Missing values for non-required select fields is absent value, not unparseable. 2022-06-16 11:28:33 -07:00
Dillon Kearns
542a2b848e Fix constraints for select fields. 2022-06-16 11:28:08 -07:00
Dillon Kearns
f6f32dee44 Use novalidate for form renderer. 2022-06-16 09:37:10 -07:00
Dillon Kearns
b3917352c1 Add additional field options. 2022-06-16 09:36:54 -07:00
Dillon Kearns
acaabbc678 Remove unused function. 2022-06-16 08:43:26 -07:00
Dillon Kearns
4590ae5da9 Remove unused field. 2022-06-16 08:43:14 -07:00
Dillon Kearns
aa9c1d09d7 Wire up properties and field types to field renderer. 2022-06-16 08:42:02 -07:00
Dillon Kearns
116e9b775d Fix initial value for checkbox event decoders. 2022-06-16 08:40:44 -07:00
Dillon Kearns
5b92530e29 Render checkboxes correctly. 2022-06-15 13:24:04 -07:00