Commit Graph

1561 Commits

Author SHA1 Message Date
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
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
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
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
87fa08a016 Use different approach for defining increment/decrement form parser. 2022-06-18 18:06:58 -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
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
9b5a1871b3 Rename function. 2022-06-18 10:02:59 -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
5bbcc21998 Remove obsolete form parser version. 2022-06-16 12:03:54 -07:00
Dillon Kearns
aa9c1d09d7 Wire up properties and field types to field renderer. 2022-06-16 08:42:02 -07:00
Dillon Kearns
5b92530e29 Render checkboxes correctly. 2022-06-15 13:24:04 -07:00
Dillon Kearns
f742a1c5ae Add rendering logic for <select>. 2022-06-15 12:40:18 -07:00
Dillon Kearns
04ff00414e Add initial setup for <select> form input. 2022-06-15 11:48:24 -07:00
Dillon Kearns
145bc194ad Add edit page. 2022-06-15 09:11:55 -07:00
Dillon Kearns
c83e3bb957 Handle parsing multiple form shapes. 2022-06-14 16:49:02 -07:00
Dillon Kearns
4117e072ca Use initial values to parse preview of form data. 2022-06-14 09:27:48 -07:00
Dillon Kearns
9dc5a92671 Add form state to track whether submit was attempted and expose in form state. 2022-06-14 08:43:08 -07:00
Dillon Kearns
cb63a023b6 Update error message for smoothie not found page. 2022-06-14 07:49:35 -07:00
Dillon Kearns
ec64c146d8 Add smoothie update action. 2022-06-13 12:55:03 -07:00
Dillon Kearns
d2b794bfa5 Add edit screen. 2022-06-13 12:47:18 -07:00
Dillon Kearns
7f5e4f9266 Add new smoothie route. 2022-06-13 12:18:38 -07:00
Dillon Kearns
156c843926 Add way to provide default values from DataSource. 2022-06-12 16:03:34 -07:00
Dillon Kearns
a0f8585fd0 Extract some form rendering logic and add Field.withClientValidation. 2022-06-10 11:59:09 -07:00
Dillon Kearns
7a289700df Use form field defined in Field module. 2022-06-10 11:21:39 -07:00
Dillon Kearns
d1bea1df35 Remove unused code. 2022-06-10 09:40:05 -07:00
Dillon Kearns
cb1226af8c Including transitioning state in form view context. 2022-06-10 07:23:06 -07:00
Dillon Kearns
071e0d6dd9 Add client-side errors to view. 2022-06-09 10:49:14 -07:00
Dillon Kearns
3c0bce5769 Include field errors in FormParser view function. 2022-06-09 09:54:48 -07:00
Dillon Kearns
79d03cf768 Wire up example with new form parser. 2022-06-09 09:08:26 -07:00
Dillon Kearns
10111e15a2 Update styles. 2022-06-09 09:03:23 -07:00
Dillon Kearns
9430c9a630 Add profile page. 2022-06-03 17:27:23 -07:00
Dillon Kearns
eed054a7b7 Add a SetField helper. 2022-06-03 17:20:18 -07:00
Dillon Kearns
e13f3def99 Use FormParser API in smoothies example. 2022-06-03 07:24:03 -07:00