601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
|
}
if (!empty($params['disabled']))
{
$attributes .= 'disabled="disabled" ';
}
if (!empty($config->mandatory))
{
$attributes .= 'required="required" ';
}
// Fix for autocomplete, lpignore is for Lastpass
$attributes .= 'autocomplete="off" data-lpignore="true" ';
|
|
|
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
|
}
if (!empty($params['disabled']))
{
$attributes .= 'disabled="disabled" ';
}
if (!empty($config->mandatory) && $type != 'checkbox' && $type != 'multiple')
{
$attributes .= 'required="required" ';
}
// Fix for autocomplete, lpignore is for Lastpass
$attributes .= 'autocomplete="off" data-lpignore="true" ';
|