fix issue
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
using Billing.Themes;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Billing.UI
|
||||
@ -377,7 +378,17 @@ namespace Billing.UI
|
||||
set => SetValue(PlaceholderProperty, value);
|
||||
}
|
||||
|
||||
protected override View Content => new OptionEditor
|
||||
OptionEditor editor;
|
||||
|
||||
public void SetFocus()
|
||||
{
|
||||
if (editor != null)
|
||||
{
|
||||
editor.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
protected override View Content => editor = new OptionEditor
|
||||
{
|
||||
HorizontalOptions = LayoutOptions.Fill,
|
||||
VerticalOptions = LayoutOptions.Fill
|
||||
|
Reference in New Issue
Block a user