fix: amend inputs on loan, c.c., vehicle, and property partials #1281
Reference in New Issue
Block a user
Delete Branch "gariasf/rates-number-input"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's currently possible to input text on some number values for loans, credit cards, vehicles, and property. When happens and the form is submitted, it is gracefully handled by setting the value to zero.
This PR proposes that those inputs are number inputs, with appropriate min and step values. % values have a step of 0.1 and both % and currency inputs have a min of 0. This assumes that negative interest rates are VERY rare in personal finance. With that said, I am not sure if it makes sense to put in a negative balance, so I'll be expecting to hear your thoughts on that.
Ideally, these inputs should display the currency symbol or percentage symbol, but that isn't such a trivial change, so I left it out for now.
Looking forward to your feedback. Cheers!
@gariasf good catch, 100% agree
@@ -4,17 +4,17 @@<div class="space-y-2">@@ -4,7 +4,7 @@<div class="space-y-2">@gariasf those two suggestions I made should fix the system test failures
Awesome, looks great!