Presenter::Tag: Optionale Precision für input_number_tag
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 27 Dec 2017 10:16:24 +0000 (11:16 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 2 Jan 2018 13:00:53 +0000 (14:00 +0100)
SL/Presenter/Tag.pm

index 96b4584..141be6c 100644 (file)
@@ -279,7 +279,7 @@ sub input_number_tag {
   $::request->presenter->need_reinit_widgets($params{id});
 
   input_tag(
-    $name, $::form->foramt_amount(\%::myconfig, $value),
+    $name, $::form->format_amount(\%::myconfig, $value, $params{precision}),
     "data-validate" => "number",
     %params,
     %class, @onchange,