Fix the nested form for AuthorRole to persist the author.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user