Skip to content

NumericUpDown Input Issues #3189

@skelvir

Description

@skelvir

What steps will reproduce this issue?


Issue 1

Example: NumericUpDown with StringFormat="{}{0:N2} cm"
Initial Value be "100.00 cm".
Input "200.00 cm" -> working fine
Input "200.00cm" (Without space) -> value is not accepted, gets back to "100.00 cm"
Input "200.00" -> working fine, goes to "200.00 cm"
Input "200.00m" -> not accepted, gets back to "100.00 cm"

Makes it very inconvenient to type values, especially in combination with Issue 2:


Issue 2

Example: NumericUpDown with StringFormat="{}{0:N2} cm"
Initial Value be "100.00 cm".

Doubleclick into NumericUpDown should mark the whole text ("100.00 cm") or at least the value without space ("100.00"). This way you could input values conveniently even with Issue 1 still existing.
At the moment if you doubleclick it will mark either before or after decimal dot ("100" or "00").

Environment

  • MahApps.Metro 1.6.0.184
  • Windows OS 7 64bit
  • Visual Studio 2017 community
  • .NET Framework 4.6.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions