getodk / getodk/web-forms

Decimal widget- double-clicking to enter a dot

Open
#467 4 comments 0 reactions 0 assignees View on GitHub
front-end Primevue
Dominant language
TypeScript
Stars
38
Forks
22
PR merge metrics
No merged PRs in 30d

Description

#### Problem description
A user needs to double-clicking to enter a dot in decimal fields when a submission is made on a phone. Tapping the dot three times removes the dot.
The issue was verified on Android 10 (Redmi 9t) and Android 16 (Pixel 7a) with a public link of All widgets form on Chrome.
#### Screenshot

https://github.com/user-attachments/assets/f38cc70e-e899-46f6-9900-e98897b53970

#### Steps to reproduce
1. Upload All widgets/ All question types form to Central.
2. Create a public link.
3. Copy the link so that you can use it on the phone.
4. In the phone open the link and go to the decimal widget.
5. Try to enter e.g. "2.5".

#### Expected behavior
The dot should appear after tapping once.
#### Web Forms version

vb0ae2c0

#### Browser version
Chrome

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the decimal widget issue from the listed All widgets form on Chrome for Android, following the provided steps. Trace the decimal widget's input handling and verify that tapping the dot once inserts it and allows a value such as "2.5" to be entered.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.