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

Fix #209: Correctly display loaded expense #210

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tobiasge
Copy link

  • Don't load default split options after displaying an existing expense
  • Re-validate form after changing the "paidFor" selection.
    This fixes the error message "The expense must be paid for at least one participant." after clicking "Select None" and the selecting one participant.

- Don't load default split options after displaying an existing expense
- Re-validate form after changing the "paidFor" selection.
  This fixes the error message "The expense must be paid for at least one
  participant." after clicking "Select None" and the selecting one participant.
@parthokunda
Copy link

parthokunda commented Sep 2, 2024

This needs to be fixed quickly. I have already faced issues when editing my expenses, all the participants were getting added by default even though I was only trying to edit something else. Btw, you should look into #194 as well. "Split Unevenly by amount" still has the issue in your PR I believe. Maybe we can rewrite this "auto rebalance" logic so not to create problem when editing expense. I will try to look into it.

Update: I have created a PR to your fork to fix the issue. Please check when you are free.

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

Successfully merging this pull request may close these issues.

2 participants