Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Commit fe8c424

Browse files
committed
Fix notes editing
1 parent f9c97d9 commit fe8c424

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/views/valuations/show.html.erb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@
4444
url: valuation_path(entry),
4545
method: :patch,
4646
class: "space-y-2",
47-
data: { controller: "auto-submit-form" } do |f| %>
48-
<%= f.hidden_field :date, value: entry.date %>
49-
<%= f.hidden_field :amount, value: entry.amount %>
50-
<%= f.hidden_field :currency, value: entry.currency %>
47+
data: { controller: "auto-submit-form", auto_submit_form_trigger_event_value: "blur" } do |f| %>
5148
<%= f.text_area :notes,
5249
label: t(".note_label"),
5350
placeholder: t(".note_placeholder"),

0 commit comments

Comments
 (0)