From 1fc9e696bc6d8d1ba13455b2b7ac195361433f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Thu, 7 Oct 2021 17:21:48 +0200 Subject: [PATCH] bugfix autocomplete --- app/views/admin/price_lines/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/price_lines/_form.html.haml b/app/views/admin/price_lines/_form.html.haml index 123ca49..6861e44 100644 --- a/app/views/admin/price_lines/_form.html.haml +++ b/app/views/admin/price_lines/_form.html.haml @@ -10,6 +10,7 @@ .input-group %input.p_product_ref_autocomplete_input.form-control{:type => "text", :style => "", tabindex: 1, autofocus: true, :value => ("#{form.object.p_product_ref.member_label}" if form.object.p_product_ref), :class => "p_product_ref_name"} + = form.hidden_field :p_product_ref_id, :class => "p_product_ref_id" @@ -22,7 +23,6 @@ - = form.hidden_field :p_product_ref_id, :class => "p_product_ref_id"