Skip to content

parameter_not_declared

The code reads a parameter that is not in the menu.

  • Severity: Error: it blocks publishing the version.
  • Where: Menu and parameters

Declare the field in menu of the manifest with the same param, or fix the name in Widget.parameters.

Widget.parameters.int("fontSize", 24); // "fontSize" no está en el menú
// manifest.json: { "type": "number", "param": "fontSize", "default": 24 }
Widget.parameters.int("fontSize", 24);