When manually typing a date into a date field, the whole browser tab locks up for an extended period of time.
Steps to reproduce:
- Open budget
- Click on account
- Click add new transaction
- Start typing 15/01/2016, I can only get to 15/01/20 before it locks up for 10-30 seconds before becoming responsive again. It then appears to work ok until you refresh the browser or close the tab and the delay occurs again.
Tested on Chrome, Firefox, Edge on Windows on multiple computers, same on all.
Hi
@ottyacat Can you let me know the locale you're using?
Thanks
Alex
Hi
@Alex English\Australia
Well, that's a fun issue. It's trying to get the category balances for a year that's XXX (like literally A.D. 123) which is causing perf issues.
I made a quick fix that will restrict dates to > 1970. :)
https://trello.com/c/SmaSo0bA/264-don-t-allow-dates-1970-to-be-valid
Quote from: Alex on November 10, 2016, 04:48:42 PM
Well, that's a fun issue. It's trying to get the category balances for a year that's XXX (like literally A.D. 123) which is causing perf issues.
I made a quick fix that will restrict dates to > 1970. :)
https://trello.com/c/SmaSo0bA/264-don-t-allow-dates-1970-to-be-valid
Oh yea, that will do it! Thanks for looking into it :)
@ottyacat Should be good! LMK if it is not fixed for you.
Thanks mate, looks good!