2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +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:
rudolfkoenig 2017-10-18 09:55:09 +00:00
parent 07ded93c73
commit 4a0918e92e

View File

@ -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;
}