Zach Daniel
7360ff066e
fix: validate action type when constructing forms
...
closes #125
2024-01-05 10:13:37 -05:00
Zach Daniel
fceed874e6
fix: remove system added error vars to ensure deduplication works properly
2023-12-28 15:42:47 -05:00
Zach Daniel
78b80b3530
fix: ensure next page is detected for offset pages w/ more?: true
2023-12-18 20:25:01 -05:00
Robert Graff
580be7e13e
chore: remove IO.inspect ( #121 )
2023-11-30 12:22:25 -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
c292848c57
improvement: properly return nested errors with for_path: :all
2023-11-28 15:54:30 -05:00
Zach Daniel
6ddddf7316
improvement: properly get invalid values provided to forms
2023-11-27 19:48:02 -05:00
Darren Black
1df8b7be1b
docs: update filter form doco ( #116 )
2023-11-13 15:26:53 -05:00
Henricus Louwhoff
6f8a53b606
fix: remove multiple attribute from select for one_of fields ( #115 )
...
This removes the 'multiple' attribute from the select input in case the field is an atom field with the `one_of` option set.
2023-11-13 13:41:25 -05:00
Zach Daniel
459dca3dfe
improvement: make generators more consistent
2023-10-24 10:22:24 -04:00
Stefan Wintermeyer
18fa99259e
improvement: ash_phoenix.gen.html generator ( #112 )
2023-10-16 18:17:22 -04:00
De Wet Blomerus
4aa4ad891f
Remove closing bracket 🔥 ( #111 )
2023-10-13 06:49:28 -04:00
Steffen Beyer
ad1d31b313
fix(Generator): Consider Resource.Info.plural_name as the help text promises ( #110 )
...
Co-authored-by: Steffen Beyer <steffen@beyer.io>
2023-10-12 09:57:29 -04:00
Robert Graff
c93c6064ed
fix: don't multiply error messages ( #107 )
2023-10-10 18:07:37 -04:00
Zach Daniel
31920db56d
fix: ensure errors are unique in form
...
fixes #104
2023-10-10 09:48:03 -04:00
De Wet Blomerus
b4943b78e0
chore: Suggest Atom plural value 👯♂️ ( #105 )
...
chore: Make Runtime bold like the other headings ✅
2023-10-10 09:23:58 -04:00
Zach Daniel
89f1a20afb
docs: add small example
2023-10-09 16:05:32 -04:00
De Wet Blomerus
0a1dfb7f92
docs: Add |> to_form()
to the end of the pipeline for Liveview >= 1.18.2 ( #103 )
2023-10-05 08:44:10 -04:00
Zach Daniel
bbc22d3c53
fix: make opts optional on for_action/3
2023-10-02 10:29:48 -04:00
Zach Daniel
91218dd24e
fix: check for values in changeset params
2023-09-27 18:56:55 -04:00
Zach Daniel
698ecfbec4
fix: properly supply api for context opts
2023-09-26 15:05:10 -04:00
Zach Daniel
e39558a7dd
fix: undo previous change for only_touched?
on form submit
2023-09-18 19:06:54 -04:00
C. R. Oldham
6d9a7d59e9
fix: remove stray } from liveview generator ( #101 )
2023-09-14 16:53:17 -04:00
Zach Daniel
c6ad0f9795
fix: honor ash context opts
2023-09-13 10:44:34 -04:00
Zach Daniel
63bc1e1086
chore: remove unused variable
2023-08-15 13:16:44 -07:00
Zach Daniel
7b4ac44e35
chore: dialyzer
2023-08-15 11:50:09 -07:00
Zach Daniel
7acd7cdeff
improvement: support providing an actor
2023-08-15 11:06:47 -07:00
Zach Daniel
39f8358055
improvement: initial stab at mix ash.gen.live
2023-08-14 23:19:56 -07:00
Zach Daniel
3a7d436079
fix: properly track form params for nested unions
...
fix: produce type errors for wrapped union values
2023-08-13 05:46:42 -07:00
Zach Daniel
e295fb72f7
improvement: tests and better behavior for union forms
2023-08-12 21:29:37 -07:00
Zach Daniel
f4f8897e9f
chore: set form type outside of updater
2023-08-12 20:05:06 -07:00
Zach Daniel
a3436fcc32
improvement: initial stab at support for forms against unions
2023-08-12 19:54:35 -07:00
Zach Daniel
c8f1b73567
fix: support only_touched? on submit as well
2023-08-01 00:23:09 -04:00
Zach Daniel
76363af83c
fix: sanitize path for touched only
2023-08-01 00:13:52 -04:00
Zach Daniel
ce0e348d00
fix: remove warning on Map.take
2023-08-01 00:07:36 -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
Robert Graff
900c5916a2
Improve form documentation ( #97 )
2023-07-16 08:24:52 -04:00
Zach Daniel
dc41746061
fix: handle single types against to many forms
2023-07-13 18:21:23 -04:00
Zach Daniel
a47b3fca2f
fix: more fixes for accidentally list form data
2023-07-13 17:10:34 -04:00
Zach Daniel
021d2fb0fb
chore: unwrap list data
2023-07-13 16:57:56 -04:00
Zach Daniel
638ec3f93c
fix: don't raise on unknown inputs for filters
2023-06-26 11:38:59 -04:00
Alan Heywood
b7a9ea6502
fix: fix Logger deprecations for elixir 1.15 ( #96 )
...
Use Logger.warning instead of Logger.warn, which is deprecated.
This project now requires at least elixir 1.11
2023-06-23 13:37:19 +12:00
Zach Daniel
77d6acc518
fix: undo incorrect change and apply correct change for accessing_from
2023-05-25 17:32:08 -04:00
Zach Daniel
f412b43115
fix: use proper accessing_from
in nested read actions
2023-05-25 17:04:22 -04:00
Zach Daniel
fc76f3237a
chore: fix credo
2023-04-25 21:47:52 -06:00
Eduardo B. A
9bdcc7943d
improvement: Add option to not reset on validate ( #94 )
...
* Add option to reset or not values on validate field changes
* Adds a test to it
* Adds some documentation about the reset_on_change? flag
---------
Co-authored-by: Eduardo <sezdocs@dev-distrobox.fedora.local>
2023-04-25 16:48:50 -06:00
Eduardo B. A
265555cddb
fix: Remove the id field from params_for_query reply ( #93 )
...
Co-authored-by: Eduardo <sezdocs@dev-distrobox.fedora.local>
2023-04-25 15:59:04 -06:00
Zach Daniel
8702c48350
fix: better params generation
2023-04-25 12:58:04 -06:00
Zach Daniel
43e2c00ace
fix: don't do constraints in argument casting
2023-04-25 12:43:39 -06:00
Zach Daniel
3aa9ad71b4
improvement: set accessing_from
when making new forms
2023-04-24 08:51:02 -06:00