Commit graph

33 commits

Author SHA1 Message Date
Zach Daniel
f400a9fc1f fix: properly restrict errors to the current form 2022-01-14 19:06:47 -05:00
Zach Daniel
0687568299 improvement: expose paths for filters
improvement: simple error handling patterns for filter forms
2021-12-02 03:12:18 -05:00
Zach Daniel
3c56731aae improvement: add a .changed? field 2021-11-06 12:15:50 -04:00
Zach Daniel
be5c0de5f1 fix: fix some error transforming logic 2021-10-21 18:42:09 -04:00
Zach Daniel
8f5b0f9df7 fix: forms now receive an error if no nested path matches the error path 2021-10-21 18:13:33 -04:00
Zach Daniel
5326b2d198 fix: ensure transform_errors is never unset
improvement: always pass errors to `transform_errors/2`
2021-09-30 15:24:46 -04:00
Zach Daniel
deeea97049 improvement: add hidden option to params
improvement: implement error protocol for invalid relationship
2021-08-16 10:56:08 -04:00
Zach Daniel
2af4024562 improvement: lots of improvements around errors
improvement: track submission states
fix: various auto form fixes
2021-07-18 02:55:08 -04:00
Zach Daniel
defbf581dc improvement: first edition of auto forms 2021-07-16 16:50:36 -04:00
Zach Daniel
d7ec7da419
improvement: refactor forms with new data structure AshPhoenix.Form (#6)
Co-authored-by: Darren Black <dblack@totaltrash.net>
2021-07-15 14:09:15 -04:00
Zach Daniel
9350101bb5 improvement: add use_data? opt to add_related
test: add some tests for `add_related`
fix: don't assume an empty map is an indexed map
2021-07-12 17:19:06 -04:00
Zach Daniel
6c84e96c8d fix: handle ash core revert 2021-06-24 18:27:37 -04:00
Zach Daniel
554286516d chore: release version v0.4.22-rc1 2021-06-24 17:49:31 -04:00
Zach Daniel
c7e6e8264e fix: use new ash type primitives 2021-06-24 17:43:56 -04:00
Zach Daniel
434b0da801 fix: map_input_to_list on manage 2021-06-13 22:14:02 -04:00
Zach Daniel
f8f4cea62e fix: understand indexed lists in relationship data 2021-06-13 22:11:43 -04:00
Zach Daniel
2874070ff8 fix: use proper input params for embeds 2021-05-14 02:35:33 -04:00
Zach Daniel
98e26a9544 improvement: various improvements to relationship manipulation functions
fix: add removed embeds to hidden fields
2021-05-14 00:34:01 -04:00
Zach Daniel
025b6e0058 improvement: track manage_relationship_source, as a utility 2021-05-10 17:44:54 -04:00
Zach Daniel
68809250aa chore: fix lint/dialyzer 2021-04-14 13:34:29 -04:00
Zach Daniel
45970eb163 fix: check for managed relationship before embedded input 2021-04-14 13:28:53 -04:00
Zach Daniel
6f8e41b468 fix: handle empty error fields 2021-04-06 10:10:38 -04:00
Darren Black
650d38e7ad Add form errors for invalid arguments 2021-03-31 17:42:39 +11:00
Zach Daniel
224fb485bf improvement: added various utility functions
fix: fix doubly nested forms and various other issues
2021-03-28 13:11:54 -04:00
Zach Daniel
162383c750 improvement: many fixes around relationship forms 2021-03-25 12:55:21 -04:00
Zach Daniel
3eebc845d8 fix: set impl correctly 2021-03-21 21:51:10 -04:00
Zach Daniel
0bb2216147 improvement: readability refactor + additional docs 2021-03-19 18:20:49 -04:00
Zach Daniel
e7f13662de fix: properly set params on related create changeset
chore: clean up commented out file
chore: remove unnecessary options
2021-03-19 14:37:20 -04:00
Zach Daniel
2889b18081 feat: add initial support for relationships in inputs_for 2021-03-19 00:11:07 -04:00
Zach Daniel
8308a38782 chore: fix lint/deps 2021-03-16 22:47:08 -04:00
Zach Daniel
46ab44634b feature: add_embed and remove_embed helpers 2021-03-16 21:42:40 -04:00
Zach Daniel
73fd890dbe improvement: remove value option 2021-03-16 21:42:16 -04:00
Zach Daniel
c1d00e54ae feat: support queries as form targets
fix: various fixes
fix: a whole new error paradigm
feat: new helpers in `AshPhoenix`
2021-03-04 23:08:43 -05:00