Fix the nested form for AuthorRole to persist the author.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 2 months ago
parent 99ae616eff
commit e91f46c2cd

@ -227,7 +227,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
</td>
<td class="px-3 w-48">
<label for={author_roles_form[:author_id].id} class="hidden">Type</label>
<.input field={author_roles_form[:author_id]} />
<.input field={author_roles_form[:author_id]} type="hidden" />
<.selected_author
author_form={author_roles_form[:author_id]}
notify_component={@notify_component}

Loading…
Cancel
Save