Commit graph

269 commits

Author SHA1 Message Date
Zach Daniel
cb9fc8758b chore: sidestep dialyzer 2022-12-20 23:06:13 -05:00
Zach Daniel
b205c9bb4f fix: ensure that params is always a map in Phoenix.HTML.Form
chore: remove unfinished guide
2022-12-20 22:59:01 -05:00
Zach Daniel
6bf3aa2fd6 improvement: add clear_value/1 2022-12-20 22:18:55 -05:00
Zach Daniel
4eaa082c73 chore: remove unused alias 2022-12-20 21:59:29 -05:00
Zach Daniel
bd7115f90b improvement: add update_forms_at_path/4 and touch/2` 2022-12-20 18:12:22 -05:00
Zach Daniel
20a3114f43 fix: update to latest ash and resolve warning 2022-12-20 03:19:32 -05:00
Zach Daniel
44c9ffb04c improvement: add prepare_source option for seeding changesets
fix: small logic bug when setting param value
2022-12-15 16:40:24 -05:00
Zach Daniel
07df35a243 fix: transform params before providing them for a field value 2022-12-07 20:24:51 -05:00
Zach Daniel
61a0379841 improvement: add more exceptions to plug exceptions 2022-12-05 01:24:09 -05:00
Rebecca Le
ac3e2dc9ac
feat: add custom HTTP status codes for specific types of errors that can be thrown (#62) 2022-11-23 03:42:06 -05:00
Zach Daniel
7b8130eee9 improvement: use new docs 2022-11-03 09:45:54 -07:00
Zach Daniel
87cd90cfc0 improvement: properly pass actor and tenant down to nested changesets 2022-11-02 20:37:41 -07:00
Zach Daniel
5ffcd1916e fix: properly handle single values in value_is_key relationships 2022-11-01 03:12:06 -04:00
Zach Daniel
c1976e1eaa fix: properly honor value_is_key option 2022-10-31 19:43:23 -04:00
Zach Daniel
701512f23b fix: properly retain sorting of list forms 2022-10-27 22:43:20 -05:00
Zach Daniel
bc06804393 fix: specify @derive in proper place 2022-10-09 23:23:58 -04:00
Zach Daniel
72b4de3f4f fix: infinite loop in inspect
test: test new form errors
2022-10-09 23:22:13 -04:00
Zach Daniel
ee0668bbcd improvement: handle %Phoenix.HTML.Form{} inputs in some cases
will raise much better errors when incorrect input is provided

improvement: require `%AshPhoenix.Form{}` inputs in some cases

will raise much better errors when incorrect input is provided
2022-10-09 22:59:22 -04:00
Zach Daniel
ce2a2f2ffa improvement: carry over negated on validate for groups 2022-10-07 12:02:16 -04:00
Zach Daniel
6fb3b7ac9f fix: populate hidden fields from server-side form by default 2022-10-06 22:33:36 -04:00
Zach Daniel
609a4fbe4a fix: don't sanitize arguments out of predicate form 2022-10-05 20:28:32 -04:00
Zach Daniel
1f245f14b2 improvement: support calculation arguments in FilterForm 2022-10-05 16:15:22 -04:00
Zach Daniel
84d110afdb chore: fix lint again 2022-10-04 16:51:39 -04:00
Zach Daniel
69bd4560cb chore: fix lint 2022-10-04 16:44:18 -04:00
Zach Daniel
28d149d7c1 fix: change filter form value even if value doesn't match 2022-10-04 16:43:16 -04:00
Zach Daniel
882fe2fb65 improvement: clear filter form value when field changes 2022-10-04 00:54:50 -04:00
Frank Dugan III
e1f283636e
fix: select first public attribute as field when remapping path
fix: update_predicate correctly handles existing predicate
2022-09-30 16:40:23 -04:00
Frank Dugan III
8f59f15bea
fix: nested groups have correct form names (#54) 2022-09-28 14:34:50 -04:00
Zach Daniel
0478c31270 improvement: add update and destroy types to add_form 2022-09-28 03:28:26 -04:00
Zach Daniel
6759794d60 fix: properly synthesize nested action errors 2022-09-28 02:11:42 -04:00
Zach Daniel
4f545f4360 improvement: support latest phoenix/surface 2022-09-27 18:37:27 -04:00
Zach Daniel
3b56ee5d2c improvement: support latest phoenix 2022-09-27 18:37:27 -04:00
Frank Dugan III
b088969315
feat: append predicate path w/ field when relationship (#53) 2022-09-26 19:32:49 -04:00
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