My edge driver device requires a user entered location (latitude, longitude).
… leads me to think this should work (for latitude) in my device profile …
preferences:
- name: latitude
title: Latitude
description: "Location latitude in decimal degrees"
required: true
preferenceType: number
definition:
minimum: -90.0
maximum: 90.0
default: 34.052235
… and it does, except when it comes to the user input part.
There, the whole default value (above) is presented but it is greyed out (as invalid?).
Only when the least significant decimal places are trimmed off, leaving only the tenths, is the value accepted as valid input.
Why?