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: leave remains in edit mode after save (stacked on #198) #199

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

jxjj
Copy link
Contributor

@jxjj jxjj commented Sep 9, 2024

When editing a Leave, the end date will show with the "custom date input" even though it's a term date. This is because valid options change after component is mounted, either after loading, or after the start date is selected.

This changes from an onMounted check to watching when leave date options change.

on dev

@jxjj jxjj requested a review from cmcfadden September 9, 2024 16:32
@jxjj jxjj self-assigned this Sep 9, 2024
Base automatically changed from feature/fix-leave-stays-in-edit-mode-after-save to develop September 9, 2024 16:47
@jxjj jxjj merged commit 5c894a2 into develop Sep 9, 2024
2 checks passed
@jxjj jxjj deleted the feature/fix-edit-leave-end-date-starts-in-custom-mode branch September 9, 2024 16:47
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.

1 participant