add Password test, fix bug in Password with maxlength
This commit is contained in:
parent
16a6c2cc00
commit
c8c7b78ee1
2 changed files with 32 additions and 25 deletions
|
|
@ -93,7 +93,7 @@ Renders an input tag of type password.
|
|||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $html = '<input type="password" name="'.$self->get("name").'" value="'.$self->fixQuotes($self->get("value")).'" size="'.$self->get("size").'" id="'.$self->get('id').'" ';
|
||||
$html .= 'maxlength="'.$self->get("maxLength").'" ' if ($self->get("maxLength"));
|
||||
$html .= 'maxlength="'.$self->get("maxlength").'" ' if ($self->get("maxlength"));
|
||||
$html .= $self->get("extras").' />';
|
||||
return $html;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue