mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Fix bug: Loan % doesn't allow exact rate (#1492)
* Fix bug: Loan % doesn't allow exact rate Fixes #1487 Change the step of the interest rate field to 0.005. It's unlikely that we'll see interest rates in smaller increments. * step 0.005 * migration for loan interest rates precision * add new line
This commit is contained in:
parent
571fc4db75
commit
1c2f075053
3 changed files with 9 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
|||
label: t("loans.form.interest_rate"),
|
||||
placeholder: t("loans.form.interest_rate_placeholder"),
|
||||
min: 0,
|
||||
step: 0.01 %>
|
||||
step: 0.005 %>
|
||||
<%= loan_form.select :rate_type,
|
||||
[["Fixed", "fixed"], ["Variable", "variable"], ["Adjustable", "adjustable"]],
|
||||
{ label: t("loans.form.rate_type") } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue