1
0
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:
Ryan Cramer
2022-05-03 10:43:13 -04:00
parent a32c574106
commit e4eaf30e8a

View File

@@ -175,6 +175,7 @@ class InputfieldDatetimeText extends InputfieldDatetimeType {
$out =
"<input " . $this->inputfield->getAttributesString($attrs) . " " .
"value='$value' " .
"autocomplete='off' " .
"data-dateformat='$dateFormatJS' " .
"data-timeformat='$timeFormatJS' " .
"data-timeselect='$timeInputSelect' " .