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 operator precedence #6788

Merged
merged 1 commit into from
May 3, 2022

Conversation

cshung
Copy link
Member

@cshung cshung commented May 3, 2022

Description of Change

This change fixed an obvious operator precedence issue. It appears to me that the intent of that condition is to ensure picker is not null and also allow two different cases for the format strings, but as is written, the code ensure picker is not null only when it hits the former case.

Issues Fixed

Fixes #6402

@mattleibow mattleibow enabled auto-merge (squash) May 3, 2022 18:08
@mattleibow mattleibow added t/bug Something isn't working platform/iOS 🍎 area-controls-datetimepicker DatePicker, TimePicker labels May 3, 2022
@mattleibow mattleibow added this to the 6.0.300 milestone May 3, 2022
@mattleibow mattleibow self-assigned this May 3, 2022
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 3, 2022
@mattleibow mattleibow merged commit 331c92f into dotnet:main May 3, 2022
@cshung cshung deleted the public/fix-operator-precedence branch May 3, 2022 20:34
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@samhouts samhouts added the fixed-in-6.0.312 Look for this fix in 6.0.312! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-datetimepicker DatePicker, TimePicker fixed-in-6.0.312 Look for this fix in 6.0.312! platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] DatePicker does not display initial value
6 participants