Last modified: 2014-07-30 21:30:34 UTC
If a parameter has '"type": "number"', VisualEditor should not allow the user to insert other kind of values. Alternativelly, it could just warn the user but still allow a value of the wrong type to be inserted. This should not be restricted just to the "number" type. Other types would also benefity from some validation (e.g., if at some point we have a type "string/image-name", VE should check if the user provided the name of an existing image).
I don't agree with restricting users from only entering content as the hinting suggests (the hinting may be wrong, or may restrict users too much) - this is the same reason why we allow users to add un-hinted parameters. However, yes, we should definitely add this missing feature in soon.