public static ValueTask <string> InputType1Async(this IPopupNavigator popupNavigator, string title, string value, int maxLength) { return(FocusHelper.WithRestoreFocus(() => popupNavigator.PopupAsync <TextInputParameter, string>( DialogId.PopupType1, new TextInputParameter(title, value, maxLength)))); }
public static ValueTask <string> InputNumberAsync(this IPopupNavigator popupNavigator, string value, int maxLength) { return(popupNavigator.PopupAsync <NumberInputParameter, string>( DialogId.InputNumber, new NumberInputParameter(value, maxLength, 0, false))); }