Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
[V16] Completely numeric keyboard and missing the decimal point on a Float, Currency, or Percent field | GoodFirstPicks

[V16] Completely numeric keyboard and missing the decimal point on a Float, Currency, or Percent field

frappe/frappe 2 comments 29d ago
View on GitHub
lowopenScope: clearSkill match: yesFrappe / ERPNextPython

Why this is a good first issue

The issue is well-defined and requires a straightforward fix to override the input mode for Float, Currency, and Percent fields.

AI Summary

The issue involves mobile browsers displaying a numeric-only keyboard for Float, Currency, and Percent fields due to inheritance from ControlInt. The fix requires overriding the input mode in ControlFloat and related classes to enable decimal input. No blockers are apparent, and a fix branch is already available.

Issue Description

Description of the issue

On mobile devices, when a user tries to input a value into a Float, Currency, or Percent field, the virtual keyboard triggered is completely numeric and missing the decimal point. This makes it impossible for users on mobile browsers to input fractional numbers (e.g., 0.16 or 12.50).

The problem originates from ControlFloat inheriting from ControlInt. ControlInt properly sets static input_mode = "numeric";, which instructs mobile browsers to serve an integer-only numpad. Since ControlFloat (and subsequently ControlCurrency and ControlPercent) do not override input_mode, they inherit the "numeric" input mode, breaking decimal inputs on mobile devices.

Context information (for bug reports)

Output of bench version

frappe 16.10.7 version-16

Steps to reproduce the issue

  1. Open any Frappe application on a mobile browser (e.g., Safari on iOS, Chrome on Android).
  2. Navigate to a form containing a Float, Currency, or Percent field.
  3. Tap on the field to start editing.

Observed result

The virtual keyboard that pops up is strictly n

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!

Loading labels...

Details

Points10 pts
Difficultylow
Scopeclear
Skill Matchyes
Test Focusedno