mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-19 23:02:48 +12:00
fix: pass matcher
down in nested validation
This commit is contained in:
parent
0afd54e813
commit
bf9c96c109
1 changed files with 1 additions and 0 deletions
|
@ -880,6 +880,7 @@ defmodule AshPhoenix.Form do
|
|||
validated =
|
||||
validate(matching_form, params,
|
||||
errors: errors?,
|
||||
matcher: matcher,
|
||||
prev_data_trail?: prev_data_trail
|
||||
)
|
||||
|> Map.put(:as, form.name <> "[#{key}][#{index}]")
|
||||
|
|
Loading…
Reference in a new issue