question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Range picker: Exception when letter is entered

See original GitHub issue

Describe the bug

If you enter a letter into the range picker and click outside the range picker, an exception occurs.

Steps to reproduce (please include code)

image

Exceptions (if any)

The following log message appears in the browser:

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Arg_NullReferenceException
System.NullReferenceException: Arg_NullReferenceException
   at AntDesign.RangePicker`1.<OnBlur>d__18[[System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]][], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )

Further technical details

  • AntDesign Nuget Package version: 0.10.3.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ElderJamescommented, Sep 12, 2022

@boehml Thanks for reminding. We will take a look into it.

1reaction
ElderJamescommented, Aug 20, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

error handling - Python excepting input only if in range
One thing I have noticed is when I run the program CTL+C will not break me out of the loop and raises the...
Read more >
Validating Input | Web Accessibility Initiative (WAI)
Depending on your web browser, the “Range” input field will be displayed as a slider control to help users provide input more easily....
Read more >
Handling Errors: Try-Catch - book "Programming Basics with C#"
If we catch an exception when executing the try block, we write a message for invalid input number (and the loop is repeated...
Read more >
Control flow and error handling - JavaScript - MDN Web Docs
Exception handling statements ... You can throw exceptions using the throw statement and handle them using the try...catch statements. throw ...
Read more >
Types of Exception in Java with Examples
Below is the list of important built-in exceptions in Java. ArithmeticException: It is thrown when an exceptional condition has occurred in an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found