gpietro / react-numpad

A numpad for number, date and time, built with and for React.
MIT License
138 stars 38 forks source link

Minus numpad button only enables when a number is pressed #118

Closed wggley closed 5 years ago

wggley commented 5 years ago

It's not a bug (Windows Calculator also works like this) but some users complained that they can't set a negative number and when investigating was this behaviour.

Could you change it so the default behaviour is the button always is enabled by default (when can put negative numbers)?

gpietro commented 5 years ago

Hi, Which version of react-numpad are you using? This bug should be fix in v.5.0.2. example.

wggley commented 5 years ago

Amazing, I'm still using an old release, I'll try upgrading!

Thanks