mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 21:29:38 +02:00
Client-side validation for Decimal precision of 19,4 (#821)
This commit is contained in:
parent
de53a50e45
commit
bcbb37a146
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class ApplicationFormBuilder < ActionView::Helpers::FormBuilder
|
|||
value: money&.amount,
|
||||
"data-money-field-target" => "amount",
|
||||
placeholder: Money.new(0, currency).format,
|
||||
min: -99999999999999,
|
||||
max: 99999999999999,
|
||||
step: currency.step
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue