summaryrefslogtreecommitdiff
path: root/views/admin/form/input.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/admin/form/input.phtml')
-rw-r--r--views/admin/form/input.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml
index a55e454..8ed0b76 100644
--- a/views/admin/form/input.phtml
+++ b/views/admin/form/input.phtml
@@ -8,6 +8,7 @@
<input
type="<?php echo wpsg_getStr($this->view['field_config']['type'], 'text'); ?>"
class="form-control input-sm"
+ <?php if (($this->view['field_config']['autocomplete']??true) === false) { ?> autocomplete="off" <?php } ?>
name="<?php echo $this->view['field_name']; ?>"
tabindex="<?php