ericrsmith35 / DatatableV2

28 stars 24 forks source link

Decimals do not get saved #14

Closed juhalassila closed 4 years ago

juhalassila commented 4 years ago

Hi! Looks like I have an issue with decimals. I have a number (12,4) field that I can inline edit in datatableV2.

Pls see attached PPTX for screenshots of

KK - Salesforce - Datatable BUG - 2020-08-01_0723.pptx

juhalassila commented 4 years ago

I think I was able to narrow down this issue to locale settings.

Looks like this component doesn't handle decimals correctly when numbers are presented with a decimal comma (instead of decimal point).

  1. Initially observed this issue with Finnish locale setting

    • User Profile pic > Settings > My Personal Settings > Language & Time Settings > Locale Finnish (Finland, Euro)
  2. Switched to English (United States): desimals got saved OK

  3. Switched back to Finnish: observed the issue again.

Just to be clear

juhalassila commented 4 years ago

Aaa... maybe this issue is related to this "feature":

Restrictions

I'm assuming that the ability to handle non-integer numbers (and percentages) is on the roadmap. Or is it?

Of course, I desperately need this feature right now.

Unfortunately, I'm not a developer. Therefore, I'm not in a position to contribute in fixing of this issue.

But let me put it this way

ericrsmith35 commented 4 years ago

I'm looking into this now to see if I can find out why this is happening.

juhalassila commented 4 years ago

Just want to let everyone know that I handled our mobile data collection requirement using FormTitan. Therefore, the money is not on the table anymore.

ericrsmith35 commented 4 years ago

I'm glad you found a solution.