Fix updating Entry values
This commit is contained in:
parent
a211e8d4f8
commit
f0ed625159
|
@ -123,8 +123,8 @@ namespace Ooui.Forms.Renderers
|
||||||
void OnEditingEnded (object sender, EventArgs e)
|
void OnEditingEnded (object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// Typing aid changes don't always raise EditingChanged event
|
// Typing aid changes don't always raise EditingChanged event
|
||||||
if (Control.Text != Element.Text) {
|
if (Control.Value != Element.Text) {
|
||||||
ElementController.SetValueFromRenderer (Entry.TextProperty, Control.Text);
|
ElementController.SetValueFromRenderer (Entry.TextProperty, Control.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
ElementController.SetValueFromRenderer (VisualElement.IsFocusedPropertyKey, false);
|
ElementController.SetValueFromRenderer (VisualElement.IsFocusedPropertyKey, false);
|
||||||
|
|
Loading…
Reference in New Issue