Skip to content

Editing Number Changes it To String #270

@liveaffiliates

Description

@liveaffiliates

Describe the bug
When a number column is edited it will change the value to a string of that number in the database

To Reproduce
Steps to reproduce the behavior:

  1. Import table from existing collection
  2. Ensure it has a number type column
  3. Create a new row
  4. Edit column with a number

Expected behavior
If the column is set to number and all the other row data for the existing documents are a number. When you add data it would be a number not changing the number field to text.

Additional context
This seems to happen sporadically some times it will edit it fine as a number, i have tried different ways to force it to happen like using the side editor or editing the table directly but have not been able to isolate it. The only thing I can think of for me to avoid this is to use a onCreate cloud function to set it as a number but I think this may just end up with a type error when try to edit.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions