Skip to content

Also accept , as . in input fields that accept decimals #114

Description

@baxerus

When I use WebControl on my phone I'm not able to add numbers with decimals, because my language setting is on German and the normal decimal sign here is ,. If I answer a number with decimals, simply nothing happens, when I press the button afterwards (e.g. in the Z-axis sub-window).

I see two ways to fix this:

  1. Find out how to force the period as decimal sign on all the browsers out there (obviously not the way I would do it)
  2. Add a line of Javascript that replaces , by . in the Javascript "backend" code (assuming here, that no user will enter stuff like e.g. "2,040.500" normally)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions