Closed DSBhogal closed 3 years ago
So, did you fixed or not?
No, is it an issue you're able to reproduce yourself? I've tried a normal nullable int property and checked to see if the same issue exists but it's fine. Do you think it's an issue with the binding of the Validatable.Value?
I've managed to fix this issue by getting the value from the sender within the Unfocused event that is triggered and change the value to null:
I would still try to reproduce this on your end to see if this is an issue with the binding of the value when you get time but thanks for your response.
Bug Information
Version Number of Plugin: 1.3.1 Device Tested On: Pixel 2 Pie 9.0 - API 28 Simulator Tested On: Android Device Manager Version of VS: 16.10.3 Version of Xamarin: 16.10.000.234 Versions of other things you are using:
Steps to reproduce the Behavior
I have a simple form with 3 numeric entries, on unfocus I validate the entry. If I focus on the entry, enter a value then delete the entered value before unfocusing, when I check the value of within Validatable the first number in the value I entered before unfocusing is the value. For example if I enter 100 as the value and delete it before unfocusing the value will be 1. I haven't put Mode=TwoWay on 2 of the fields as regardless this is an issue for me.
Apologies in advance I am new to xamarin so my knowledge is limited
Screenshots
Form:
Unfocused Events:
Viewmodel: