Commit Graph

3994 Commits

Author SHA1 Message Date
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
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
c543da051b Provide field status in raw field. 2022-06-09 09:04:34 -07:00
Dillon Kearns
5a1555fb2c Update field status on events. 2022-06-09 09:03:39 -07:00
Dillon Kearns
10111e15a2 Update styles. 2022-06-09 09:03:23 -07:00
Dillon Kearns
5e9275ec4c Include a view function in form parser. 2022-06-08 08:37:36 -07:00
Dillon Kearns
4f5bbce442 Parse form data into more structure. 2022-06-08 07:23:21 -07:00
Dillon Kearns
33183024ad Remove Maybe from parsed fields. 2022-06-06 13:33:41 -07:00
Dillon Kearns
a8de3da635 Use new approach for form proof-of-concept API. 2022-06-06 13:20:10 -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
Dillon Kearns
2e1fbf0fe7 Add some form parser helpers. 2022-06-03 07:23:44 -07:00
Dillon Kearns
cfad541029 Update form parser API. 2022-06-03 07:23:26 -07:00
Dillon Kearns
d133441cb7 Wire up prototype for client-side form state. 2022-06-02 11:32:35 -07:00
Dillon Kearns
bd98bdb095 Add prototype for form parser. 2022-06-02 11:30:15 -07:00