playcanvas / pcui

UI component library for web-based tools
http://playcanvas.github.io/pcui
MIT License
663 stars 62 forks source link

Correctly handle non-numeric values entered into NumericInput #245

Closed willeastcott closed 1 year ago

willeastcott commented 1 year ago

_onInputChange is overriding a method in the TextInput superclass so it must be a regular class method on the prototype and can't be an arrow function.

This bug is a regression introduced in #222