Skip to content

Commit

Permalink
Client-side validation for Decimal precision of 19,4 (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgoll authored May 31, 2024
1 parent de53a50 commit bcbb37a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/application_form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def money_field(method, options = {})
value: money&.amount,
"data-money-field-target" => "amount",
placeholder: Money.new(0, currency).format,
min: -99999999999999,
max: 99999999999999,
step: currency.step
}

Expand Down

0 comments on commit bcbb37a

Please sign in to comment.