applications/luci-vnstat: move to status menu
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / dhcpleases.lua
index 3f631b3..e0e65e5 100644 (file)
@@ -31,6 +31,8 @@ s.anonymous = true
 s.template = "cbi/tblsection"
 
 name = s:option(Value, "name", translate("Hostname"))
+name.datatype = "hostname"
+name.rmempty  = true
 
 mac = s:option(Value, "mac", translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
 mac.datatype = "macaddr"