Skip to content

Commit 0bd61b5

Browse files
committed
fix: apply parent_action down the line
1 parent a34caba commit 0bd61b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/polymorphic_embed/html/helpers.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ if Code.ensure_loaded?(Phoenix.HTML) && Code.ensure_loaded?(Phoenix.HTML.Form) d
108108
index: if(array?, do: i),
109109
errors: errors,
110110
data: data,
111+
action: parent_action,
111112
params: params,
112113
hidden: [{type_field_name, to_string(type)}],
113114
options: options

0 commit comments

Comments
 (0)