improvement: carry over negated on validate for groups

This commit is contained in:
Zach Daniel 2022-10-07 12:02:16 -04:00
parent 78163bdaa6
commit ce2a2f2ffa

View file

@ -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