Skip to content

Commit

Permalink
Fix deprecated ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed Oct 6, 2019
1 parent 97bb58e commit 507c2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XF.Material/UI/MaterialTextField.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ private void OnTextChanged(string text)
{
var selectedChoice = GetSelectedChoice(_selectedIndex);
SelectedChoice = selectedChoice;
ChoiceSelected?.Invoke(this, new SelectedItemChangedEventArgs(selectedChoice));
ChoiceSelected?.Invoke(this, new SelectedItemChangedEventArgs(selectedChoice, _selectedIndex));
ChoiceSelectedCommand?.Execute(selectedChoice);
}
else if (InputType == MaterialTextFieldInputType.Choice && string.IsNullOrEmpty(text))
Expand Down

0 comments on commit 507c2d1

Please sign in to comment.