# is essentially just a clone of this one.
if ( isset( $this->mParams['type'] ) ) {
switch ( $this->mParams['type'] ) {
- case 'email':
- $attribs['type'] = 'email';
- break;
case 'int':
$attribs['type'] = 'number';
break;
$attribs['step'] = 'any';
break;
# Pass through
+ case 'email':
case 'password':
case 'file':
+ case 'url':
$attribs['type'] = $this->mParams['type'];
break;
}