Commit Graph

4142 Commits

Author SHA1 Message Date
Dillon Kearns
4771b9f476 Add Validation.value helper to get maybe parsed value. 2022-07-09 08:49:44 -07:00
Dillon Kearns
1a588ed576 Fix tests. 2022-07-09 08:30:13 -07:00
Dillon Kearns
078a95b5b8 Use clean diff for escaping test. 2022-07-09 08:23:58 -07: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
fe8d81a94d Update docs. 2022-07-08 17:45:18 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
00e7acc0c7 Include server errors in from ActionData in form error state. 2022-07-08 17:36:20 -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
e78f39f32c Fix typo. 2022-07-08 15:25:28 -07:00
Dillon Kearns
a8bb62a40e Rename variable in route module template. 2022-07-08 14:46:55 -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
e2505843e0 Remove log. 2022-07-08 10:00:05 -07:00
Dillon Kearns
5420de8dfa Remove obsolete function. 2022-07-08 09:59:59 -07:00
Dillon Kearns
79202cbd68 Update package-lock. 2022-07-08 09:57:06 -07:00
Dillon Kearns
da29205702 Fix arguments for dev server CLI compilation. 2022-07-08 09:56:58 -07:00
Dillon Kearns
b2a97219f5 Re-order arguments for consistency. 2022-07-08 09:38:14 -07:00
Dillon Kearns
4c9986702b Include Html.Lazy thunk evaluation in server-side rendering in dev server. 2022-07-08 09:37:08 -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
91d040a7a7 Add escaping example output. 2022-07-06 10:06:18 -07:00
Dillon Kearns
e3e0ffdd7e Try local import. 2022-07-05 15:56:48 -07:00
Dillon Kearns
6f35f55021 Update path in build script calling adapter code. 2022-07-05 11:08:57 -07:00
Dillon Kearns
d895b7fbb3 Fix extension in adapter script. 2022-07-05 11:02:02 -07:00
Dillon Kearns
905d940bf4 Force build. 2022-07-05 10:59:40 -07:00
Dillon Kearns
343b30bc3a Try using esbuild bundle option. 2022-07-05 10:58:00 -07:00
Dillon Kearns
bdc1715726 Use latest esbuild. 2022-07-05 10:54:58 -07:00
Dillon Kearns
ceb6286cba Update token 2022-07-05 10:32:09 -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
cdf58c62e0 Add Field.map helper. 2022-07-05 09:56:49 -07:00
Dillon Kearns
0275c296d3 Get fields from queryParams in Request.formData. 2022-07-05 09:56:27 -07:00
Dillon Kearns
3a2670a4ac Migrate signup page. 2022-07-05 08:38:28 -07:00
Dillon Kearns
966ceb491a Update package-lock. 2022-07-05 08:25:01 -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
3b04ba593e Update styled form helpers. 2022-07-02 09:05:12 -07:00
Dillon Kearns
8a7313516a Expose toString helper. 2022-07-02 09:04:57 -07:00
Dillon Kearns
86890804e4 Review fix. 2022-07-02 09:04:51 -07:00
Dillon Kearns
47e2f7f264 Try a different lamdera binary. 2022-06-30 13:21:33 -07:00