Closed rachelrring closed 5 months ago
created bug/budgetFormValidity branch to address this issue.
I've decided that a user shouldn't be able to save a budget if every value is 0
Maybe we could get a tooltip or something to explain to the user why the button is disabled.
Currently, the budget form is valid when all the fields have values. Even if all the values are 0.
This means that a user can save a budget even if all their expenses and income amount to 0.
This should be changed to make it so that a user can only submit their budget if they have entered any values.