Commit Graph

4210 Commits

Author SHA1 Message Date
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
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
082ba3e037 Update docs. 2022-06-15 09:25:49 -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
061643eedc Add prototype for oneOf form parsing. 2022-06-14 11:17:17 -07:00
Dillon Kearns
cc81cf6bfb Fix test. 2022-06-14 09:42:59 -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
a35f51600a Don't add required error to field for unparseable values when the raw field value is non-empty. 2022-06-13 10:04:42 -07:00
Dillon Kearns
156c843926 Add way to provide default values from DataSource. 2022-06-12 16:03:34 -07:00
Dillon Kearns
68cfe7019f Add checkbox and int fields. 2022-06-12 08:34:04 -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
3ec9b2157e Fix condition for checking if there are errors in form request parser. 2022-06-10 09:40:21 -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