                            lg:px-2 lg:py-0 m-1 rounded
                            disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                     disabled={Tools.disabled?(:one, @selected_records |> length)}
-                    phx-click="toggle_request_confirmation"
-                    phx-target={@myself}>
+                    :on-click={"toggle_request_confirmation"}>
               🗑️ Delete
             </button>
 

          </div>

          <button :if={:assignment_filter in @buttons}
                  :on-click={"toggle_hide_filtered", target: @myself}
                  class="border border-gray bg-white hover:bg-lightest px-1 py-0.5 lg:px-2 lg:py-0 m-1 rounded">
            {if @hide_filtered, do: "Show unassigned", else: "Hide unassigned"}
          </button>

                           lg:px-2 lg:py-0 m-1 rounded
                           disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                    disabled={Tools.disabled?(:one, @selected_records |> length)}
                    :on-click={"show"}>
                    🔍 Show
            </button>

