From 01341d20f30fe355ea05debbc26bae8298a9e7c4 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 3 May 2026 09:54:44 -0500 Subject: [PATCH] fix(contact-map): wrap callsign filter in form, add Filter button Bare-input phx-change wasn't reliably delivering the value to the filter_callsign handler. Wrapping the input in a form with phx-submit + a Filter button gives explicit submission (Enter or click) on top of the existing debounced live filter. --- .../live/contact_map_live.ex | 48 +++++++++++-------- .../live/contact_map_live_test.exs | 28 +++++++---- 2 files changed, 48 insertions(+), 28 deletions(-) diff --git a/lib/microwaveprop_web/live/contact_map_live.ex b/lib/microwaveprop_web/live/contact_map_live.ex index fe32ae7a..3089ab83 100644 --- a/lib/microwaveprop_web/live/contact_map_live.ex +++ b/lib/microwaveprop_web/live/contact_map_live.ex @@ -104,17 +104,21 @@ defmodule MicrowavepropWeb.ContactMapLive do