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 CalendarDatePicker two way binding syntax. #13083

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

rabbitism
Copy link
Contributor

@rabbitism rabbitism commented Sep 30, 2023

What does the pull request do?

Fix #13000

Question: Can I assume that {TemplateBinding XX Mode=TwoWay} won't work at all? If so we need to check if we have similar issue in entire fluent/simple theme.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

No.

Obsoletions / Deprecations

Fixed issues

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0040247-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@rabbitism
Copy link
Contributor Author

This should be considered as a temporary fix, and the root cause is Calendar.SelectedDate value precedence. Please close this if someone finds a way to fix it permanently.

@maxkatz6
Copy link
Member

maxkatz6 commented Oct 1, 2023

@rabbitism I assume the original issue was also fixed by #13087, right? So this PR can be closed.

@rabbitism
Copy link
Contributor Author

@rabbitism I assume the original issue was also fixed by #13087, right? So this PR can be closed.

No, separate issue.
That was discovered when i try to understand what templatebinding is doing. But not related to this one.

@maxkatz6 maxkatz6 added this pull request to the merge queue Oct 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 1, 2023
@maxkatz6 maxkatz6 merged commit 87b7af5 into AvaloniaUI:master Oct 1, 2023
6 checks passed
@rabbitism rabbitism deleted the fix/13000 branch October 1, 2023 12:21
@grokys grokys added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Oct 2, 2023
grokys pushed a commit that referenced this pull request Oct 2, 2023
Co-authored-by: rabbitism <dongbin@irihi.tech>
@grokys grokys added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CalendarDatePicker popout displays incorrect date highlight if SelectedDate set through another means.
4 participants