Example #1
0
        protected virtual async Task ClearButtonClickHandlerAsync(MouseEventArgs e)
        {
            await SetTextAsync(string.Empty, updateValue : true);

            await ElementReference.FocusAsync();

            await OnClearButtonClick.InvokeAsync(e);
        }
Example #2
0
        protected virtual async Task ClearButtonClickHandlerAsync(MouseEventArgs e)
        {
            await SetTextAsync(string.Empty, true);

            await OnClearButtonClick.InvokeAsync(e);
        }