Skip to content

[Bug]: Dot discarded in weigth config #927

Description

@orkeilius

Describe the bug

when using dot to set a floating point number, the dot is discarded

Logs

NA

How can I reproduce the bug?

  1. edit weight
  2. validate

Expected behavior

Using a dot or comma should both be parsed correctly

Screenshots

Image Image

App Version

4.19.0

OS Version

Android 16

Platform

android

Additional context

From what I saw,
It seems that if your local is set to comma, locale-bignumber.ts set replace commas to dot but also remove any previous dot

I guess it for local that use dot to group number, but in don't think people actually group number in apps ?

AI Usage Policy

  • This report is written in my own words (not an AI-generated summary), in my original language.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions