Skip to content

[text-field] Update number-field to always insert a decimal character when pressing the numpad decimal key #1214

@Braus

Description

@Braus

Hello everyone,

  • Description of the issue
    When in the Dutch/german language you use a fractional symbol you use the comma instead of a dot. When you press the numpad decimal a dot always appears.
  • Minimal reproducible example
    Pressing the numpad decimal in either a textfield or numberfield.
  • Expected behavior
    I expect that when the locale is set to a certain language the numpad decimal changes to that language. For Amerika this is . for NL/GE this is , this behaviour is also common in most Microsoft Office programs. Try it out on Excel for example.
  • Versions:
    Vaadin 14.0.8

I think this should be either a default or configurable option. But please share your rationale on this improvement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions