modules/freifunk: Add minlength datatype to location, #444
This commit is contained in:
parent
6780f757d6
commit
92f0643e2c
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ hn.datatype = "hostname"
|
||||||
|
|
||||||
loc = b:option(Value, "location", translate("Location"))
|
loc = b:option(Value, "location", translate("Location"))
|
||||||
loc.rmempty = false
|
loc.rmempty = false
|
||||||
|
loc.datatype = "minlength(1)"
|
||||||
|
|
||||||
lat = b:option(Value, "latitude", translate("Latitude"), translate("e.g.") .. " 48.12345")
|
lat = b:option(Value, "latitude", translate("Latitude"), translate("e.g.") .. " 48.12345")
|
||||||
lat.datatype = "float"
|
lat.datatype = "float"
|
||||||
|
|
Loading…
Reference in a new issue