mirror of
https://github.com/processwire/processwire.git
synced 2025-08-21 14:02:59 +02:00
Add autocomplete=off attribute to InputfieldDatetime inputs using datepicker
This commit is contained in:
@@ -175,6 +175,7 @@ class InputfieldDatetimeText extends InputfieldDatetimeType {
|
|||||||
$out =
|
$out =
|
||||||
"<input " . $this->inputfield->getAttributesString($attrs) . " " .
|
"<input " . $this->inputfield->getAttributesString($attrs) . " " .
|
||||||
"value='$value' " .
|
"value='$value' " .
|
||||||
|
"autocomplete='off' " .
|
||||||
"data-dateformat='$dateFormatJS' " .
|
"data-dateformat='$dateFormatJS' " .
|
||||||
"data-timeformat='$timeFormatJS' " .
|
"data-timeformat='$timeFormatJS' " .
|
||||||
"data-timeselect='$timeInputSelect' " .
|
"data-timeselect='$timeInputSelect' " .
|
||||||
|
Reference in New Issue
Block a user