Devographics / Devographics/Monorepo

State of JS number input allows infinity

Open
#526 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
178
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Description

**Expected behavior**
Input rejects the text "Infinity", and informs user that Infinity in not a valid number.

**Observed behavior**
Infinity is treated as a valid number input.

**Steps to re-create**
1. Open the state of JS 2025 survey
2. Navigate to a number input (ex: years of experience)
3. Type in the word "Infinity" with the uppercase letter I
4. Note that other non-numeric inputs are rejected, but "Infinity" is accepted

Image

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the State of JS 2025 survey by locating the number input validation used for fields such as years of experience. Reproduce the issue by entering "Infinity" and compare it with other rejected non-numeric inputs. Done means "Infinity" is rejected and the user is informed that it is not a valid number.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.