fix bug with ammo type selector

This commit is contained in:
2025-07-19 00:45:53 +00:00
parent 05b1630a96
commit 14615ac107
25 changed files with 101 additions and 95 deletions

View File

@ -46,7 +46,8 @@
{select(f, :tag_id, tag_options(@tags, @container),
class: "text-center col-span-2 input input-primary",
id: "#{@id}-tag-select",
phx_hook: "SlimSelect"
phx_hook: "SlimSelect",
phx_update: :ignore
)}
{error_tag(f, :tag_id, "col-span-3 text-center")}

View File

@ -38,7 +38,8 @@
{select(f, :type_id, type_options(@types, @class),
class: "text-center col-span-2 input input-primary",
id: "pack-form-type-select",
phx_hook: "SlimSelect"
phx_hook: "SlimSelect",
phx_update: :ignore
)}
{error_tag(f, :type_id, "col-span-3 text-center")}
@ -85,7 +86,8 @@
{select(f, :container_id, container_options(@containers),
class: "text-center col-span-2 input input-primary",
id: "pack-form-container-select",
phx_hook: "SlimSelect"
phx_hook: "SlimSelect",
phx_update: :ignore
)}
{error_tag(f, :container_id, "col-span-3 text-center")}