Skip to content

Commit

Permalink
Search form value fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlindsey committed Dec 3, 2024
1 parent 7085c41 commit 04c7908
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/messages/_nav_column.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@
class="pt-6 text-gray-950 dark:text-gray-100 select-none"
>
<%= form_with url: new_assistant_message_path(@assistant), method: :get do |form| %>
<%= form.text_field :query,
<%= form.search_field :query,
value: @query,
placeholder: "Search conversations",
id: "search-input",
autofocus: true,
class: %|
border border-gray-400 rounded
text-black dark:text-gray-800
mb-1 p-1 pl-2 pr-2
ml-3 w-full
|,
data: {
inline_edit_target: "input",
Expand Down

0 comments on commit 04c7908

Please sign in to comment.