Roo/form/VTypes.js
authorleon <leon@roojs.com>
Thu, 1 Jun 2023 04:32:03 +0000 (12:32 +0800)
committerleon <leon@roojs.com>
Thu, 1 Jun 2023 04:32:03 +0000 (12:32 +0800)
Roo/form/VTypes.js

index df3bf92..ddb10b3 100644 (file)
@@ -47,6 +47,10 @@ Roo.form.VTypes = function(){
         url : function(v){
             return url.test(v);
         },
+        /**
+         * The funciton used to validate URLs (only allow schemes 'https' and 'http')
+         * @param {String} value The URL
+         */
         /**
          * The error text to display when the url validation function returns false
          * @type String