PayForMe icon indicating copy to clipboard operation
PayForMe copied to clipboard

Negative amount input

Open mardom1 opened this issue 1 year ago • 3 comments

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.

mardom1 avatar Jul 17 '23 18:07 mardom1

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 avatar Jul 18 '23 08:07 Hustenbonbon

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.

Hustenbonbon avatar Jul 18 '23 08:07 Hustenbonbon

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.

mardom1 avatar Jul 18 '23 10:07 mardom1