This commit is contained in:
parent
188a6f667c
commit
8ce89a7227
2 changed files with 9 additions and 2 deletions
|
|
@ -34,7 +34,9 @@ defmodule MvWeb.CustomFieldLive.IndexComponent do
|
|||
module={MvWeb.CustomFieldLive.FormComponent}
|
||||
id={@form_id}
|
||||
custom_field={@editing_custom_field}
|
||||
on_save={fn custom_field, action -> send(self(), {:custom_field_saved, custom_field, action}) end}
|
||||
on_save={
|
||||
fn custom_field, action -> send(self(), {:custom_field_saved, custom_field, action}) end
|
||||
}
|
||||
on_cancel={fn -> send_update(__MODULE__, id: @id, show_form: false) end}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue