TypeError: Cannot read property 'type' of null when render Button with null value. #5472
Labels
馃悰 Bug
Ant Design Team had proved that this is a bug.
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Environment(required)
What did you do? Please provide steps to re-produce your problem.
What do you expected?
Render the button (
<button>馃檭</button>
) without error.What happen?
insertSpace
method execute the expressnull.type
.Caused the type error:
Re-producible online demo
http://codepen.io/blade254353074/pen/wJXgrL
The text was updated successfully, but these errors were encountered: