Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot set number field with decimal places

See original GitHub issue

Whenever I try to set a custom field of type number to a double that contains decimal places, the following is logged:

Sending: Put card/5af5d4ef7183551238934567/customField/5af5c9b56ba18a8214c12126/item
Status Code: BadRequest (400)
Content: Invalid custom field item value.
Received: Invalid custom field item value.
// Works.
field.SetValueForCard(card, 123);

// Does not work.
field.SetValueForCard(card, 123.45);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

agrosscommented, May 12, 2018

3.0.9 works. Many thanks!

gregsdenniscommented, May 12, 2018

Okay. Please give v3.0.9 a go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow 2 decimal places in <input type="number">
And please specify maximum number of decimal places allowed in the input in data-decimal attribute. it can have values from 0 to any...
Read more >
Decimal places isn't working
I have set up fields to allow for 3 decimal places, but sometimes, the first value to be entered is without decimal places,...
Read more >
Decimal value is rounded up/down to integer value
To work around this problem, manually set the Field Size property of the column to Double or to Decimal. Click the DataSheet tab....
Read more >
Lightning:inputField not allowing decimal numbers to be ...
I am using <lightning:recordEditForm> and <lightning:inputField fieldName="customField"/> to create a form. My custom field is Number field with ...
Read more >
Cannot enter decimal value in double data type field
When I attempt to enter a value in Field Maps, the keypad does not show a decimal point key or button. Only numbers...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found