Commit Graph

107 Commits

Author SHA1 Message Date
Dillon Kearns
9d8320d5fd Remove unused. 2022-07-24 09:01:28 +02:00
Dillon Kearns
c01d4f6765 Migrate another module to new form API. 2022-07-22 17:32:43 +02:00
Dillon Kearns
70cd707a96 Migrate module. 2022-07-22 17:29:46 +02:00
Dillon Kearns
f034531062 Migrate tailwind form example to new form type. 2022-07-22 16:31:46 +02:00
Dillon Kearns
9a011c012c Migrate another page to new form type. 2022-07-22 12:02:51 +02:00
Dillon Kearns
170c906e72 Use new Form type for another route. 2022-07-22 09:41:35 +02:00
Dillon Kearns
c2f0e2922a Add form data parser for new type. 2022-07-21 15:31:16 +02:00
Dillon Kearns
fc153e7f48 Remove some hardcoding. 2022-07-20 11:36:50 +02:00
Dillon Kearns
379ffc55ba Stub out new design for Form.init with some Debug.todo calls. 2022-07-19 18:36:08 +02:00
Dillon Kearns
c5d9fe865d Extract common helper for preparing validation errors and hidden input values in Form module. 2022-07-12 12:25:14 +02:00
Dillon Kearns
b730d50689 Update example. 2022-07-12 11:54:13 +02:00
Dillon Kearns
169bf18561 Rename some WIP function names. 2022-07-09 08:03:02 -07:00
Dillon Kearns
55bdca78c5 Fix typos. 2022-07-08 18:01:54 -07:00
Dillon Kearns
102d27c84b Update docs. 2022-07-08 18:00:30 -07:00
Dillon Kearns
50ce177be1 Rename module. 2022-07-08 17:58:49 -07:00
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
d14688b4d8 Remove obsolete state that's managed by Form API now. 2022-07-08 17:35:53 -07:00
Dillon Kearns
fdee339801 Rename variable and add debug output in example. 2022-07-08 15:25:48 -07:00
Dillon Kearns
59b865670e Use Validation type as base for all fields in combiner function. 2022-07-08 14:29:30 -07:00
Dillon Kearns
8cacb7c4f3 Use Form.Errors wrapper type instead of raw Dict to make access more type-safe. 2022-07-08 11:16:24 -07:00
Dillon Kearns
34e2389ab4 Pass html attributes into Form render functions directly. 2022-07-08 11:09:52 -07:00
Dillon Kearns
70b1423bd2 Use builder pattern for rendering forms. 2022-07-08 10:57:22 -07:00
Dillon Kearns
5420de8dfa Remove obsolete function. 2022-07-08 09:59:59 -07:00
Dillon Kearns
344341a93a Wire up prototype for new Form builder pattern for fetcher/transition options. 2022-07-07 16:02:35 -07:00
Dillon Kearns
c1a5ea97a2 Migrate todo example. 2022-07-05 10:18:13 -07:00
Dillon Kearns
fb2026a769 Migrate search example page. 2022-07-05 09:57:02 -07:00
Dillon Kearns
3a2670a4ac Migrate signup page. 2022-07-05 08:38:28 -07:00
Dillon Kearns
98f49bdbbb Use transition state for isSubmitting check. 2022-07-05 08:24:52 -07:00
Dillon Kearns
e1dd176516 Remove log statement. 2022-07-05 08:24:40 -07:00
Dillon Kearns
8e93fef8e3 Increase label area for checkboxes and radio buttons. 2022-07-05 08:24:34 -07:00
Dillon Kearns
e156e4f268 Migrate tailwind form example to new Form API. 2022-07-02 09:06:32 -07:00
Dillon Kearns
8caacce2b7 Add some fixes to pokedex example. 2022-07-02 09:05:50 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
3afa1e81ff Derive todo list state from fetchers. 2022-05-20 10:08:47 -07:00
Dillon Kearns
b8a95ca88d Update pokdedex example. 2022-05-18 15:31:25 -07:00
Dillon Kearns
31265b4979 Add starting point for trails demo. 2022-05-17 16:07:07 -07:00
Dillon Kearns
6ad79a56de Get method and action from form submitter in event decoder. 2022-05-17 08:36:39 -07:00
Dillon Kearns
c1bff7f730 Trigger rebuild. 2022-05-16 14:40:13 -07:00
Dillon Kearns
484d45bf5e Use fetcher from todos example. 2022-05-13 11:42:26 -07:00
Dillon Kearns
2be5d1c07e Allow custom onsubmit in stateless form. 2022-05-13 11:17:50 -07:00
Dillon Kearns
6f6db5c1bf Use Pages.Msg.Msg for submitting in Form API. 2022-05-13 10:37:19 -07:00
Dillon Kearns
e01415407f Use wrapper Pages.Msg.Msg to enable wiring up Submit msg's for the framework to handle. 2022-05-13 09:03:09 -07:00
Dillon Kearns
de24b30549 Wire up onActionMsg for route modules. 2022-05-12 11:16:15 -07:00
Dillon Kearns
6c1244c785 Turn off some API routes to avoid rate limit. 2022-05-11 11:16:14 -07:00
Dillon Kearns
2725e9bb00 Improve flash error message. 2022-05-11 10:51:43 -07:00
Dillon Kearns
53d0acb1ec Extract Fetcher module and type. 2022-05-10 16:29:28 -07:00
Dillon Kearns
5f40870e26 Use flash session to show success message on signup example page. 2022-05-10 15:34:42 -07:00
Dillon Kearns
54b6891938 Remove obsolete Fetcher prototype functions and replace with new one. 2022-05-10 11:11:27 -07:00