Data entry field tracking list has wrong BindingContext value #5437
Labels
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
p/0
Work that we can't release without
platform/android 🤖
platform/windows 🪟
s/not-a-bug
This isn't actually a bug, or is working as expected
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
Milestone
Description
When a CollectionView is bound to a list of items and an entry field is bound to a property of the selected item the correct information is shown in the entry field and it changes as the selection changes, all as expected. However if there's a method attached to the Unfocused event on the Entry it is called with the wrong BindingContext value (it looks like it may be the one inherited from the page rather than the selected item used to display the value)
Steps to Reproduce
Sample project:
MAUIListEntry-Binding.zip
Version with bug
Preview 14 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 11, Windows 10
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: