I have a TextBox
that is bind to a property underneath. It has a two way binding with custom validation. If validation doesn't pass, and there's an error, the binding doesn't update the source. How can I make it so the source is updated, even though the validation has an error? I want validation to be more of a warning, not an error.
This is my simplified xaml:
<TextBox>
<TextBox.Text>
<Binding Path="Value"
UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<validators:TelephoneNumberRule />
<validators:NotOptionalRule />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
And the property:
public string Value { get; set; }
Thanks.