cozuya / secret-hitler

A web adaptation of the social deduction board game Secret Hitler. https://secrethitler.io
Other
815 stars 203 forks source link

Unlimited zeros in XP min input field. #1956

Closed finkployd closed 2 years ago

finkployd commented 2 years ago

Describe the bug

Making a game with min XP allows to enter unlimited number of zeros before the wanted value and it ruins the site layout. I believe the XP min input value should be treated as an integer instead of string. Capture d’écran 2022-03-07 à 00 01 51

Category

User Interface

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge, Something Else; Describe below

Relevant log output

No response

Extra context

No response

iounpaladin commented 2 years ago

Thanks! I fixed this locally and it will be pushed / deployed soon