I need to allow users enter decimal numbers into a dataset, for latitude and longitude, but I am getting the following error message when the dataset tries to save:
“save operation failed: DatasetError: Some of the elements validation failed.”
When I check the .valid property of my input boxes in debugging, they show as invalid when they contain any number with a decimal place.
The fields in my collection are defined as numbers, and on my page I am using text input boxes with input type set to Number. There is no regex pattern validation.
I can manually type numbers with decimals into my collection just fine, and I can also save numbers without decimals from my page just fine, including negative numbers.
I know I could save as text and convert to numbers on read, but that seems hokey.