I have a user interface where a user can enter a value and that value is updated in the ViewModel (and eventually written back to a database).
This works fine if the a value is actually entered. But if you want to clear that value (i.e. set it to nothing) it doesn't seem to work.
So for example if it was 'dog' but I clear that text and "save" the change is not recognized.
I call "PropertyChanged" which is fired if a value is entered. But if the text is cleared, and I hit enter or tab out of the textbox, the property is not updated.
Is there some special way to deal with this or am I just missing something?
thanks