I've got an app where I default to inputs to the latitude and longitude of the hub, but offer the option to change the values.
input(
name: "HubLatitude",
type: "decimal",
title: "Latitude",
width: 2,
defaultValue: getLocation().latitude,
noAutoComplete: false
)
input(
name: "HubLongitude",
type: "decimal",
title: "Longitude",
width: 2,
defaultValue: getLocation().longitude,
noAutoComplete: false
)
But something odd happens. The default values show up just fine, but if I try to edit the numbers I get an error like this:
Please enter a valid value. The two nearest valid values are -83.791011 and -83.781011.
I have no clue what is going on with this. Where is this "validation" being set, and why?