actualbudget / actual

A local-first personal finance app
https://actualbudget.org
MIT License
12.51k stars 954 forks source link

[Bug]: Schedule reset amount to ten (10) when amount is zero (0) #2932

Open Thiago-Morais opened 1 week ago

Thiago-Morais commented 1 week ago

Verified issue does not already exist?

What happened?

When a schedule has the amount of zero it resets to 10

https://github.com/actualbudget/actual/assets/21369746/36e6cef0-f0aa-4b75-9ba8-3ab22c291730

Schedule changing the amount to 10 when it is 0

This only happens when it is 0. Any non-zero amount keeps its value

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

Chrome, Desktop App (Electron)

Operating System

Windows 11

Teprifer commented 1 week ago

This is intentional, added in #2360 as a measure to prevent another bug.

joel-jeremy commented 5 days ago

I think we should revisit that. It should honor whatever is already saved in database otherwise it's going to be a bad UX as shown in the recording. It should only default to 10 when creating a new schedule.