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

enhancement/required-account-fields #248

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

br0tda
Copy link
Contributor

@br0tda br0tda commented Feb 20, 2024

Added logic to mark as required src/dst account based on transaction type


name: Pull request
about: AutocompleteField isRequired attribute
title: Logic for required account fields
labels: feature
assignees: victorbalssa


Is your feature request related to a problem? Please describe.
Currently, the source account is always marked as required, even in a 'deposit' transaction

Describe the solution you'd like
The source account is marked as required only in 'withdrawal' or 'transfer' transaction.
The destination account is marked as required only in 'deposit' or 'transfer' transaction.

Describe alternatives you've considered
...

Additional context
...

Copy link
Owner

@victorbalssa victorbalssa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @br0tda!

I like the idea, can you update the suggestions so I can deploy this in the next minor version?

src/components/Forms/TransactionSplitForm.tsx Outdated Show resolved Hide resolved
src/components/Forms/TransactionSplitForm.tsx Outdated Show resolved Hide resolved
br0tda and others added 2 commits February 21, 2024 06:49
Co-authored-by: victorbalssa <victor.balssa@gmail.com>
Co-authored-by: victorbalssa <victor.balssa@gmail.com>
@br0tda
Copy link
Contributor Author

br0tda commented Feb 21, 2024

Hi @victorbalssa

Code updated. Thank you!

@victorbalssa victorbalssa added the enhancement New feature or request label Feb 21, 2024
@victorbalssa victorbalssa added this to the 0.12.0 milestone Feb 21, 2024
@victorbalssa victorbalssa changed the title Logic for required account fields enhancement/required-account-fields Feb 21, 2024
@victorbalssa victorbalssa changed the base branch from updates to version/0.12.0 February 21, 2024 15:18
@victorbalssa victorbalssa merged commit 0c3b479 into victorbalssa:version/0.12.0 Feb 21, 2024
@victorbalssa victorbalssa mentioned this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants