Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The input elements has a constant range #741

Open
batmanovnn opened this issue Feb 8, 2023 · 1 comment
Open

The input elements has a constant range #741

batmanovnn opened this issue Feb 8, 2023 · 1 comment
Assignees
Labels

Comments

@batmanovnn
Copy link

batmanovnn commented Feb 8, 2023

<input id="unitNumberRange" type="range"> has a maximum value of 100 (constant), but the maximum value must be equal to the number of hired soldiers of the selected type.
<input id="unitNumberValue" type="text"> hasn't a maximum value, but the maximum value must be equal to the number of hired soldiers of the selected type.
The text field also allows you to enter symbols and letters.

OS: Linux Ubuntu Browser: Mozilla Firefox
server: prod

ER: The input of range and the input of text has a maximum value equal to the number of hired soldiers of the select type.
Steps to reproduce:

  1. Build the city and build the Inn and the Stable
  2. Buy Hero in the Inn.
  3. Hired soldiers in the Stable.
  4. Select hired soldiers

AR: The input range and the input text hasn't limit value equal number of hired soldiers.

Screenshot from 2023-02-08 18-54-33

@batmanovnn batmanovnn added the bug label Feb 8, 2023
@Areso Areso closed this as completed in a41031b Feb 8, 2023
@Areso Areso reopened this Feb 8, 2023
@Areso
Copy link
Owner

Areso commented Feb 8, 2023

not actually a bug.
just poor implementation

@Areso Areso added UI/UX and removed bug labels Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants