When using the URLRule I assume that the requiresProtocol property would change make it so that the url 'www.google.com' would be valid while setting it to true would require the field to have http:// or https:// before the domain of the url.
Upon looking into the source code the property requiresProtocol defaults to false but is never used in calculating the isValid function.
I can make a quick fix and add a PR to this issue.
When using the URLRule I assume that the requiresProtocol property would change make it so that the url 'www.google.com' would be valid while setting it to true would require the field to have http:// or https:// before the domain of the url.
Upon looking into the source code the property requiresProtocol defaults to false but is never used in calculating the isValid function.
I can make a quick fix and add a PR to this issue.