mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
01_FHEMWEB.pm: add autocomplete="off" to input type=text (Forum #78130)
git-svn-id: https://svn.fhem.de/fhem/trunk@15277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
07ded93c73
commit
4a0918e92e
@ -2083,10 +2083,10 @@ FW_textfieldv($$$$)
|
||||
{
|
||||
my ($n, $z, $class, $value) = @_;
|
||||
my $v;
|
||||
$v=" value=\"$value\"" if(defined($value));
|
||||
$v=" value='$value'" if(defined($value));
|
||||
return if($FW_hiddenroom{input});
|
||||
my $s = "<input type=\"text\" name=\"$n\" class=\"$class\" ".
|
||||
"autocapitalize=\"off\" size=\"$z\"$v/>";
|
||||
my $s = "<input type='text' name='$n' class='$class' ".
|
||||
"autocomplete='off' autocapitalize='off' size='$z'$v/>";
|
||||
|
||||
return $s;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user