Zach Daniel
|
6164026962
|
test: remove unused variable in tests
|
2024-06-24 22:16:39 -04:00 |
|
Roberts Guļāns
|
2970af46e6
|
test: test atom type wrapper (#208)
|
2024-06-10 10:40:33 -04:00 |
|
danielatdpg
|
e199d465b7
|
fix: make sure that _index is correctly updated before and after removal for sparse forms (#196) (#197)
|
2024-05-29 10:54:13 -04:00 |
|
Zach Daniel
|
055d20e930
|
fix: ensure nested form names are remapped on remove form
|
2024-04-23 10:14:38 -04:00 |
|
Minsub Kim
|
8ac1351f98
|
test: update nested form name correctly when remove form in the middle (#164)
|
2024-04-23 09:47:51 -04:00 |
|
Minsub Kim
|
ffcba2e00b
|
test: add deeply nested form with params (#162)
|
2024-04-22 10:51:48 -04:00 |
|
Zach Daniel
|
c526768670
|
improvement: remove unknown keys option from embedded attributes
docs: update upgrade docs to reflect change of skip_unknown_attributes
|
2024-04-17 00:18:59 +01:00 |
|
Zach Daniel
|
1f511de8ca
|
improvement: add error hints for NoFormConfigured errors
|
2024-04-11 18:47:31 -04:00 |
|
Darren Black
|
01ca583443
|
improvement!: upgrade to Ash 3.0
Co-Authored By: Zach Daniel
|
2024-03-28 19:12:13 -04:00 |
|
Zach Daniel
|
99a3a4915f
|
fix: get casted values from form (requires Ash 2.20+)
|
2024-03-11 12:35:44 -04:00 |
|
Pierre Le Gall
|
b92b04c77f
|
improvement: #133 use resource defined Api (#134)
|
2024-02-21 10:07:17 -05:00 |
|
Zach Daniel
|
c5c1a23514
|
feat: update to latest phoenix_html
|
2024-01-21 13:00:44 -05:00 |
|
Nduati Kuria
|
ae1a2d0aa2
|
Fix: do_decode_path for string paths (#127)
* Raise InvalidPath exception instead of "Invalid Path: #{original_path}" string
* Add regression test
|
2024-01-14 14:17:56 -05:00 |
|
Zach Daniel
|
fceed874e6
|
fix: remove system added error vars to ensure deduplication works properly
|
2023-12-28 15:42:47 -05:00 |
|
Robert Graff
|
57dfbab56e
|
nested form errors should not multiply (#123)
|
2023-12-28 14:46:31 -05:00 |
|
Zach Daniel
|
9c2539a312
|
improvement: carry over nested errors on creation, validation and submission
|
2023-11-29 19:45:34 -05:00 |
|
Zach Daniel
|
63042cc84c
|
chore: format
|
2023-11-29 18:48:57 -05:00 |
|
Robert Graff
|
c0f883d048
|
test: Add test for errors appearing on inputs_for forms (#120)
|
2023-11-29 18:41:34 -05:00 |
|
Zach Daniel
|
c292848c57
|
improvement: properly return nested errors with for_path: :all
|
2023-11-28 15:54:30 -05:00 |
|
Zach Daniel
|
bace1b1ec4
|
chore: format
|
2023-11-28 14:34:02 -05:00 |
|
Robert Graff
|
a098a830b1
|
test: Nested form errors for argument attribute (#119)
|
2023-11-28 14:32:38 -05:00 |
|
Zach Daniel
|
6ddddf7316
|
improvement: properly get invalid values provided to forms
|
2023-11-27 19:48:02 -05:00 |
|
Zach Daniel
|
91218dd24e
|
fix: check for values in changeset params
|
2023-09-27 18:56:55 -04:00 |
|
Zach Daniel
|
22611cd4e1
|
improvement: add support for target and only_touched? validate opts
chore: update elixir/erlang versions
|
2023-07-19 00:35:58 -04:00 |
|
Zach Daniel
|
98d717e3ca
|
chore: properly address test message
|
2023-04-30 23:03:12 -04:00 |
|
Zach Daniel
|
8921df95be
|
chore: update test for newer versions of ash
|
2023-04-30 22:48:04 -04:00 |
|
Zach Daniel
|
340af977f9
|
improvement: return phoenix forms if phoenix forms are given
this is done to support the new pattern in phoenix of assigning the html
form instead of the underlying data structure
|
2023-03-05 17:23:43 -05:00 |
|
Amos King
|
bb39ba3f03
|
Fixes default values on dead forms (#74)
|
2023-02-20 18:32:04 -05:00 |
|
Egor Kislitsyn
|
351f46e5af
|
improvement: accept multiple fields in AshPhoenix.Form.clear_value/2 (#67)
|
2023-01-05 13:51:03 -05:00 |
|
Egor Kislitsyn
|
bd3a6fbb1f
|
fix: properly clear value in Form.clear_value/2 (#66)
|
2023-01-05 12:39:42 -05:00 |
|
Zach Daniel
|
6bf3aa2fd6
|
improvement: add clear_value/1
|
2022-12-20 22:18:55 -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
|
701512f23b
|
fix: properly retain sorting of list forms
|
2022-10-27 22:43:20 -05:00 |
|
Zach Daniel
|
72b4de3f4f
|
fix: infinite loop in inspect
test: test new form errors
|
2022-10-09 23:22:13 -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
|
bcfb2b9483
|
improvement: update to latest ash
|
2022-09-21 01:24:52 -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
|
231a581edd
|
improvement: warn on unhandled errors by default
|
2022-07-07 22:22:30 -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
|
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 |
|
Zach Daniel
|
09f673751b
|
chore: fix tests
|
2022-05-28 21:20:54 -04:00 |
|
Darren Black
|
142bbc3b52
|
fix: Fix validate_opts when single form (#44)
|
2022-05-22 02:08:43 -04:00 |
|
Darren Black
|
465d036620
|
test: Failing test for validate_opts issue (#43)
|
2022-05-20 10:59:23 -04:00 |
|
Zach Daniel
|
873317aa79
|
fix: validate after adding/removing forms
|
2022-05-17 11:06:41 -04:00 |
|
kernel-io
|
a861dbf3b9
|
test: added failing test (#40)
|
2022-05-17 10:39:46 -04:00 |
|
kernel-io
|
b65bf57ebf
|
test: add failing test for remove_form (#39)
|
2022-05-16 22:37:36 -04:00 |
|
Zach Daniel
|
50f6a108b4
|
fix: raise error on non-existant resource for api
|
2022-05-16 16:09:38 -04:00 |
|