Found the problem. Override the GetHashCode of the model causes the binding to fail updating the UI.
This commit is contained in:
@@ -56,19 +56,20 @@ namespace MVPLearning.RecordKeeping.SermonFiler
|
|||||||
|
|
||||||
public override int GetHashCode()
|
public override int GetHashCode()
|
||||||
{
|
{
|
||||||
HashCode hash = new();
|
//HashCode hash = new();
|
||||||
hash.Add(Seid);
|
//hash.Add(Seid);
|
||||||
hash.Add(Title);
|
//hash.Add(Title);
|
||||||
hash.Add(Scripture);
|
//hash.Add(Scripture);
|
||||||
hash.Add(When);
|
//hash.Add(When);
|
||||||
hash.Add(Subject);
|
//hash.Add(Subject);
|
||||||
hash.Add(Minister);
|
//hash.Add(Minister);
|
||||||
hash.Add(Where);
|
//hash.Add(Where);
|
||||||
hash.Add(Ref_No);
|
//hash.Add(Ref_No);
|
||||||
hash.Add(Notes);
|
//hash.Add(Notes);
|
||||||
hash.Add(Filename);
|
//hash.Add(Filename);
|
||||||
hash.Add(Web);
|
//hash.Add(Web);
|
||||||
return hash.ToHashCode();
|
//return hash.ToHashCode();
|
||||||
|
return base.GetHashCode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user