cds-snc / cds-snc/platform-forms-client

Number component bug

Open
#7,891 1 comment 0 reactions 1 assignee Claimed by @dsamojlenko View on GitHub
:vertical_traffic_light: Critical bug freshdesk
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Context

https://cds-snc.freshdesk.com/a/tickets/30081

> In the image below I only typed 2’s but after a point they turn into 0’s when my cursor leaves the question.

Image

## Description
When you put a handful of numbers into the number component, it changes the response.

## Steps to reproduce
1. Go to this form: https://forms-formulaires.alpha.canada.ca/en/id/cmtuckmgr000901yp4urm26bu
2. In the number fields, enter like 17+ characters into the field
3. Tab away
4. See error

## Details
- **Browser**: Chrome
- **Operating system**: Mac
- **Environment**: Prod

## Screenshots or videos

https://github.com/user-attachments/assets/2b8a906b-4fd1-42f9-a24d-a7d623c8c48e

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.