Dillon Kearns
|
d5c698021e
|
Fix error logic.
|
2022-05-11 10:51:23 -07:00 |
|
Dillon Kearns
|
6cdee6e197
|
Allow blank submissions for radio inputs.
|
2022-05-11 10:47:36 -07:00 |
|
Dillon Kearns
|
06fcc706ff
|
Remove commented code.
|
2022-05-11 10:46:51 -07:00 |
|
Dillon Kearns
|
2f6a95f5d2
|
Regenerate docs.
|
2022-05-10 16:30:42 -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 |
|
Dillon Kearns
|
5b9fd32a7c
|
Pass in fetcher for current Route as part of StaticPayload.
|
2022-05-10 10:16:09 -07:00 |
|
Dillon Kearns
|
d608b34e91
|
Add header to indicate when to include only action data.
|
2022-05-09 10:19:42 -07:00 |
|
Dillon Kearns
|
2192dd30af
|
Add prototype of function to run Fetcher with a follow-up call to reload route data.
|
2022-05-06 11:19:24 -07:00 |
|
Dillon Kearns
|
da4aaa2714
|
Extract performUserMsg helper.
|
2022-05-06 11:17:20 -07:00 |
|
Dillon Kearns
|
f6ccc1ed83
|
Don't call onPageChange from UpdateCacheAndUrlNew - it was incorrectly triggering init to be called again when the URL didn't change.
|
2022-05-06 11:16:39 -07:00 |
|
Dillon Kearns
|
84d518b143
|
Remove unused.
|
2022-05-06 11:15:09 -07:00 |
|
Dillon Kearns
|
07e4ea13c9
|
Remove obsolete comment.
|
2022-05-05 11:24:18 -07:00 |
|
Dillon Kearns
|
72c640ba1b
|
Show error messages that come back from todo submit action.
|
2022-05-05 11:17:45 -07:00 |
|
Dillon Kearns
|
0c94bf53d8
|
Handle error response codes for page navigations, since they could be sending valid data (like for an ErrorPage) with custom status codes.
|
2022-05-05 11:16:23 -07:00 |
|
Dillon Kearns
|
27c03ccf12
|
Make sure page data is resolved for actions.
|
2022-05-05 09:47:20 -07:00 |
|
Dillon Kearns
|
f33e5bac25
|
Use action for todos example.
|
2022-05-04 16:48:10 -07:00 |
|
Dillon Kearns
|
344ef2919a
|
Use action data in stateless form example.
|
2022-05-04 11:06:23 -07:00 |
|
Dillon Kearns
|
62c6e62922
|
Wire up initial action data to init and view.
|
2022-05-04 09:59:18 -07:00 |
|
Dillon Kearns
|
c19fa6e40a
|
Update doc comments for elm-pages docs.
|
2022-05-03 14:44:51 -07:00 |
|
Dillon Kearns
|
fa10ce7eaf
|
Generate fetcher modules
|
2022-05-03 14:36:08 -07:00 |
|
Dillon Kearns
|
ad8e7b9456
|
Expose ActionData types.
|
2022-05-03 11:51:32 -07:00 |
|
Dillon Kearns
|
5a664782cd
|
Initial prototype of ActionData.
|
2022-05-03 11:30:52 -07:00 |
|
Dillon Kearns
|
cc30fc028a
|
Remove unused.
|
2022-04-28 11:59:08 -07:00 |
|
Dillon Kearns
|
0dac6a0916
|
Check for errors in initial flash message in tailwind page.
|
2022-04-28 11:37:23 -07:00 |
|
Dillon Kearns
|
116f679d13
|
Rename internal function.
|
2022-04-28 11:08:56 -07:00 |
|
Dillon Kearns
|
52f8f03e60
|
Add todos.
|
2022-04-28 11:08:50 -07:00 |
|
Dillon Kearns
|
c7fdf66728
|
Add internal-only config for now in preparation for custom HTTP method for forms.
|
2022-04-28 11:06:28 -07:00 |
|
Dillon Kearns
|
c5b5f0caba
|
Include server validation errors in payload.
|
2022-04-28 10:47:31 -07:00 |
|
Dillon Kearns
|
2456c00b3d
|
Remove unused argument.
|
2022-04-28 10:47:11 -07:00 |
|
Dillon Kearns
|
2af25473df
|
Remove unused imports.
|
2022-04-28 09:40:16 -07:00 |
|
Dillon Kearns
|
5ca486c69c
|
Rename function.
|
2022-04-28 09:30:52 -07:00 |
|
Dillon Kearns
|
eae27223a3
|
Rename function.
|
2022-04-28 09:28:25 -07:00 |
|
Dillon Kearns
|
b50f188499
|
Add todo.
|
2022-04-28 09:24:35 -07:00 |
|
Dillon Kearns
|
32b536f78a
|
Use two separate functions for stateless and stateful form rendering.
|
2022-04-28 09:07:32 -07:00 |
|
Dillon Kearns
|
24b1f21a3d
|
Add annotation.
|
2022-04-28 08:49:17 -07:00 |
|
Dillon Kearns
|
2267e62b28
|
Extract function.
|
2022-04-28 08:45:27 -07:00 |
|
Dillon Kearns
|
47bbd59a4c
|
Add TODO.
|
2022-04-28 08:45:21 -07:00 |
|
Dillon Kearns
|
c1592cceed
|
Use optionalField for checkbox since it won't be included in (new FormData()) if a checkbox is unchecked.
|
2022-04-27 10:32:57 -07:00 |
|
Dillon Kearns
|
e29926e2c3
|
Pass in submit Effect to form API.
|
2022-04-27 10:11:33 -07:00 |
|
Dillon Kearns
|
cfd78682fa
|
Add submit Cmd in Effect.perform.
|
2022-04-27 09:05:48 -07:00 |
|
Dillon Kearns
|
298faed45c
|
Remove redundant form function for toHtml.
|
2022-04-25 14:44:51 -07:00 |
|
Dillon Kearns
|
e04310b603
|
Pass in optional Form.Msg to userMsg function, and don't register event handlers if not present.
|
2022-04-25 14:42:38 -07:00 |
|
Dillon Kearns
|
4111d4e677
|
Rename function.
|
2022-04-25 09:54:08 -07:00 |
|
Dillon Kearns
|
0adfa12bc8
|
Remove repetitive function from Form API.
|
2022-04-25 09:53:18 -07:00 |
|
Dillon Kearns
|
bd4737e73c
|
Update package-lock.
|
2022-04-25 09:34:55 -07:00 |
|
Dillon Kearns
|
6282d880d1
|
Cancel stale page load requests.
|
2022-04-25 09:34:55 -07:00 |
|
Dillon Kearns
|
eae145ebe5
|
Avoid printing undefined to console if a promise is rejected with no argument.
|
2022-04-22 16:00:14 -07:00 |
|
Dillon Kearns
|
494f1f26d7
|
Prevent builds from hanging when there is a build error in a DataSource for getting build-time paths.
|
2022-04-22 15:58:38 -07:00 |
|