afadil / wealthfolio

A Beautiful Private and Secure Desktop Investment Tracking Application
https://wealthfolio.app
GNU Affero General Public License v3.0
4.39k stars 228 forks source link

fix activity form #66

Closed afadil closed 2 months ago

alexanderameye commented 2 months ago

I'm not very familiar with zod for validation, but currently you can still enter negative numbers here (the form validation blocks it though). Wouldn't it be more user friendly to also not just allow negative values to be in the input field if they were going to be blocked anyways?

image