Skip to content

[Bug]: Weird behaviour of decimal input in exercise entry edit #652

@karolsol

Description

@karolsol

Bug Description

Weight input behaves in weird way in exercise entry edit. When you create new exercise entry there is no such problem, though there is 06 instead, of 6 but that is a lot less annoying and saves fine in DB.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Edit exercise entry and select weight input
  2. Select all in that input
  3. Type something like 6
  4. Set cursor after 6
  5. Click Backspace
  6. Enter some number like 5

Expected Behavior

5.0 is value of input

Actual Behavior

There is 0.1 in that input

Environment

  • SparkyFitness Version: v0.16.4.2
  • Running Env: Docker

Screenshots/Videos (Optional)

Screencast_20260213_092648.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions