Commit graph

236 commits

Author SHA1 Message Date
Zach Daniel
75f07d1235 fix: only impl Phoenix.HTML.Safe if it hasn't already been 2022-09-15 18:46:21 -04:00
Zach Daniel
b64cd13941 improvement: support latest ash 2022-09-14 13:21:36 -04:00
ymijorski
02f4b54690
improvement: decimal protocols (#51) 2022-09-12 12:20:19 -04:00
ymijorski
effbc60ebc
fix: argument mismatch when calling handle_forms (#50) 2022-09-08 12:10:32 -04:00
Zach Daniel
47fba77237 fix: call get_function/3 2022-08-30 17:44:57 -06:00
Zach Daniel
c9192a4905 chore: bump pre version
docs: add/tweak docs
chore: update ash
2022-08-30 17:40:03 -06:00
Zach Daniel
ee27b25cd7 docs: explain submitted_once? and just_submitted? 2022-08-30 17:40:03 -06:00
Zach Daniel
84aca9411b docs: work on docs & docs structure 2022-08-30 17:40:03 -06:00
Zach Daniel
b2f0e77d09 improvement: support ash 2.0 properly 2022-08-30 17:40:03 -06:00
Zach Daniel
0d1d5b5465 improvement: update to latest ash, prepare for ash-2.0 2022-08-30 17:40:03 -06:00
Zach Daniel
5723a449a7 improvemnt: upgrade to ash 2.0 2022-08-30 17:40:03 -06:00
Zach Daniel
443342c76f fix: require setting include_non_map_types? for non map types 2022-08-23 22:45:13 -04:00
Zach Daniel
7b9f3070a6 fix: don't validate values that aren't maps 2022-08-23 22:26:04 -04:00
Zach Daniel
2e061428a4 fix: don't transform nested params if transform? is false 2022-08-23 22:01:34 -04:00
Zach Daniel
343e70b6d5 improvement: update to latest ash
fix: remove typo from new transform_params logic
2022-08-22 16:14:27 -04:00
Zach Daniel
336b5c7931 fix: shore up missing cases around transform_params 2022-08-22 15:44:42 -04:00
Zach Daniel
dff7d12e86 improvement: support non-map type nested forms 2022-08-22 14:31:28 -04:00
Zach Daniel
1bbe7c34db fix: mark forms updated with update_form/4 as touched by default 2022-08-16 22:16:47 -04:00
Zach Daniel
6ad0183759 fix: handle errors in form change tracking 2022-08-15 12:31:07 -04:00
Zach Daniel
72a2965107 fix: properly parse string paths in FilterForm
improvement: add `update_predicate/3`
2022-08-13 15:10:47 -04:00
Zach Daniel
c7278d0f04 improvement: pass must load opts when building auto forms
fix: don't stringify form value
2022-08-12 16:29:02 -04:00
Zach Daniel
a84258a0d7 improvement: add merge_options and update_options 2022-08-09 13:22:33 -04:00
Zach Daniel
66720d9697 fix: reuse opts when validating before submit 2022-08-09 13:00:37 -04:00
Zach Daniel
4b9ec85d5a improvement: fix typespecs on form submit 2022-08-09 00:20:52 -04:00
Zach Daniel
9cc3ceb636 Revert "improvement: add form_only_field/5"
This reverts commit b9cdfd09fc.
2022-08-02 19:18:27 -04:00
Zach Daniel
549caa40bc Revert "fix: fix nested form_only_fields and add more tests"
This reverts commit bd60b02341.
2022-08-02 19:18:20 -04:00
Zach Daniel
38ec1f0109 Revert "docs: add docs to form_only_fields"
This reverts commit 32842d1c82.
2022-08-02 19:18:14 -04:00
Zach Daniel
32842d1c82 docs: add docs to form_only_fields 2022-08-02 11:02:21 -04:00
Zach Daniel
bd60b02341 fix: fix nested form_only_fields and add more tests 2022-08-01 23:35:16 -04:00
Zach Daniel
b9cdfd09fc improvement: add form_only_field/5 2022-08-01 22:07:29 -04:00
Zach Daniel
231a581edd improvement: warn on unhandled errors by default 2022-07-07 22:22:30 -04:00
Zach Daniel
538784765f fix: ensure auto forms have unique keys 2022-07-04 21:03:40 -04:00
Zach Daniel
146ec8ec70 improvement: merge _join forms 2022-07-02 11:26:02 -04:00
Zach Daniel
dd65f20204 fix: always merge join form, add fields 2022-07-02 11:03:46 -04:00
Zach Daniel
bffe8b590e improvement: add fields list to join form 2022-07-02 11:01:33 -04:00
Zach Daniel
bf9c96c109 fix: pass matcher down in nested validation 2022-06-30 19:27:55 -04:00
Zach Daniel
0afd54e813 fix: deduplicate form keys 2022-06-29 00:21:58 -04:00
Zach Daniel
66026b816c chore: more debug messages 2022-06-29 00:14:20 -04:00
Zach Daniel
ff3c89900e chore: more debug messages 2022-06-29 00:10:18 -04:00
Zach Daniel
161e32332b chore: inspects for debugging 2022-06-29 00:04:34 -04:00
Zach Daniel
2e5f6a9282 chore: don't process duplicate form keys 2022-06-29 00:00:55 -04:00
Zach Daniel
5c3f3bcb90 Revert "fix: when validating, use empty starting point for forms"
This reverts commit a658a8085b.
2022-06-28 23:56:11 -04:00
Zach Daniel
a658a8085b fix: when validating, use empty starting point for forms 2022-06-28 23:54:14 -04:00
Zach Daniel
42fec6fab4 improvement: helper functions around ignoring forms 2022-06-28 22:31:44 -04:00
Zach Daniel
a554cd9a07 improvement: allow forms to be ignored 2022-06-28 22:28:44 -04:00
Zach Daniel
6ba516aeaa WIP 2022-06-28 22:22:38 -04:00
Zach Daniel
e8bf9d648d chore: add explanation for add_form oddities 2022-06-21 18:33:03 -04:00
Zach Daniel
ec9aca942e Revert "improvement: pass generated form params in when validating"
This reverts commit b54d49074c.
2022-06-21 18:27:57 -04:00
Zach Daniel
e9466d1e12 Revert "improvement: trialing treating all form parameters as strings for keys/values"
This reverts commit 0307ff190c.
2022-06-21 18:27:44 -04:00
Zach Daniel
0307ff190c improvement: trialing treating all form parameters as strings for keys/values
This is experimental, and may be reverted later
2022-06-21 01:29:00 -04:00