Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing Number Changes it To String #270

Closed
liveaffiliates opened this issue Nov 19, 2020 · 0 comments · Fixed by #271
Closed

Editing Number Changes it To String #270

liveaffiliates opened this issue Nov 19, 2020 · 0 comments · Fixed by #271
Labels
bug Something isn't working

Comments

@liveaffiliates
Copy link

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

@notsidney notsidney added the bug Something isn't working label Nov 20, 2020
notsidney added a commit that referenced this issue Nov 23, 2020
* develop:
  fix side drawer number field not allowing empty values (#268)
  fix side drawer number field not allowing decimals
  fix number field saving as string (#270)
  temp fix MultiSelect
  temp disable row select column
@notsidney notsidney linked a pull request Nov 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants