Skip to content

Commit

Permalink
Update binding for better Android handling
Browse files Browse the repository at this point in the history
  • Loading branch information
DevFromDownUnder committed Mar 25, 2024
1 parent cb9e6c4 commit d79c95b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UraniumUI.Material/Controls/TextField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public TextField()
EntryView.SetBinding(Entry.IsEnabledProperty, new Binding(nameof(IsEnabled), source: this));
EntryView.SetBinding(Entry.IsReadOnlyProperty, new Binding(nameof(IsReadOnly), source: this));

endIconsContainer.Focused += (s, e) => { ValidateFocus(); };
iconClear.Focused += (s, e) => { ValidateFocus(); };

AfterConstructor();
}
Expand Down Expand Up @@ -172,5 +172,6 @@ protected IView GetNextExternalFocusableControl()
{
return UraniumUI.Extensions.ViewExtensions.GetNextElement(this.Parent, this) as IView;
}

#endregion DisallowEndIconsFocus Logic
}

0 comments on commit d79c95b

Please sign in to comment.