BindableProperty validation does not throw an ArgumentException, although it is documented as such #25823
Labels
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
When a validation callback of a BindableProperty returns false,
no Exeption is raised as documented here
Example:
Steps to Reproduce
Link to the reproduction link below
Link to public reproduction project repository
https://github.com/zauberzeug/Maui_BindableProperty_validation
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions, Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
iOS 17, Android 13
Did you find any workaround?
Throw an Exeption inside the validation callback.
The text was updated successfully, but these errors were encountered: