Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative amount input #64

Open
mardom1 opened this issue Jul 17, 2023 · 3 comments
Open

Negative amount input #64

mardom1 opened this issue Jul 17, 2023 · 3 comments

Comments

@mardom1
Copy link

mardom1 commented Jul 17, 2023

It is currently not possible to enter negative values as an amount as there is no minus on the number keyboard.

Negative amounts are useful to enter incomes, i.e., for refunds.

@Hustenbonbon
Copy link
Collaborator

Could you solve that with switching out payer and ower? I'm going to have a look if it is easy to switch out for a numeric keyboard with a minus

@Hustenbonbon
Copy link
Collaborator

There is no suitable keyboard as it seems. The only way I could think of right now would be to have a toggle to negate the entry.
Here is a list of the possible keyboards: https://betterprogramming.pub/12-shades-of-keyboard-types-in-ios-a413cf93bf4f
The only one that would solve this problem would be .numbersAndPunctuation, but that makes the default case much less optimal to use.

@mardom1
Copy link
Author

mardom1 commented Jul 18, 2023

Switching payer and ower works when there are only two people involved. Otherwise you would have to create multiple entries. A toggle expense <-> income would definitely work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants