From 05cc35927a8c801243135f57ae308def849dccb3 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Tue, 9 Dec 2025 14:51:41 +0000 Subject: [PATCH] Fix dropdown selection display on messages page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added prompt option "Select a recipient..." to the To dropdown on the messages page. This provides a clear placeholder and makes the selected user's name visible after selection. Before: Dropdown showed no placeholder, making it unclear what was selected After: Shows "Select a recipient..." by default, then displays the selected user's name when a recipient is chosen Fixes the issue where clicking a user in the dropdown didn't show their name in the dropdown field. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/views/messages/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/messages/index.html.erb b/app/views/messages/index.html.erb index eee6678..a239679 100644 --- a/app/views/messages/index.html.erb +++ b/app/views/messages/index.html.erb @@ -108,7 +108,7 @@ <%= f.select(:receiver_id, options_from_collection_for_select(User.all, :id, :full_name), - {}, + { prompt: "Select a recipient..." }, { class: "form-select form-select-lg" }) %> Select message recipient