luci-base: FlagValue fix type of enabled and disabled properties
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / form.js
index 66ba0302087f3692546904223c6ead85c5a0669f..b1e7d2c39358a466cd78f2f60b35e4fee6a50329 100644 (file)
@@ -4007,7 +4007,7 @@ var CBIFlagValue = CBIValue.extend(/** @lends LuCI.form.FlagValue.prototype */ {
         * Sets the input value to use for the checkbox checked state.
         *
         * @name LuCI.form.FlagValue.prototype#enabled
-        * @type number
+        * @type string
         * @default 1
         */
 
@@ -4015,7 +4015,7 @@ var CBIFlagValue = CBIValue.extend(/** @lends LuCI.form.FlagValue.prototype */ {
         * Sets the input value to use for the checkbox unchecked state.
         *
         * @name LuCI.form.FlagValue.prototype#disabled
-        * @type number
+        * @type string
         * @default 0
         */