mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
improvement: carry over negated on validate for groups
This commit is contained in:
parent
78163bdaa6
commit
ce2a2f2ffa
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ defmodule AshPhoenix.FilterForm do
|
|||
form
|
||||
| params: params,
|
||||
components: validate_components(form, params["components"]),
|
||||
operator: to_existing_atom(params["operator"] || :and)
|
||||
operator: to_existing_atom(params["operator"] || :and),
|
||||
negated?: params["negated"] || false
|
||||
}
|
||||
|> set_validity()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue