Skip to content

fix(formplayer): Improved number input UX - #667

Merged
r0ssing merged 4 commits into
OpenDataEnsemble:devfrom
HelloSapiens:fix/number-input-ux
Jun 23, 2026
Merged

r0ssing merged 4 commits into
OpenDataEnsemble:devfrom
HelloSapiens:fix/number-input-ux

Conversation

@r0ssing

@r0ssing r0ssing commented Jun 23, 2026

Copy link
Copy Markdown
Member

Pull Request Title

This PR aims to improve the UX when inputting numbers in input fields. Previously the OS native number input field would clamp values to be within any defined min- and max-values, causing the frustrating effect of having the input changing while entering it, making it impossible to write certain numbers despite them being valid (e.g. typing "22" in a field with min-value = 4, would require entering "2" and then "2", but the input clamper would change the first "2" to a "4", thus making it impossible to write 22).

This PR relaxes that behaviour and simply shows a warning message for invalid values.

@r0ssing
r0ssing requested review from IamLRBA and najuna-brian June 23, 2026 12:12
@r0ssing
r0ssing merged commit 075a2b3 into OpenDataEnsemble:dev Jun 23, 2026
19 checks passed
@r0ssing
r0ssing deleted the fix/number-input-ux branch June 23, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants