From 04a72fbc5a0d62df8a9aca278b80cf3735ca66aa Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 4 Sep 2017 12:27:48 +0200 Subject: [PATCH] ExtensibleSetElement: no autocomplete for... ...existing options - might be confusing --- .../Director/Web/Form/IplElement/ExtensibleSetElement.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/Director/Web/Form/IplElement/ExtensibleSetElement.php b/library/Director/Web/Form/IplElement/ExtensibleSetElement.php index 293de6d2..4006169a 100644 --- a/library/Director/Web/Form/IplElement/ExtensibleSetElement.php +++ b/library/Director/Web/Form/IplElement/ExtensibleSetElement.php @@ -315,6 +315,12 @@ class ExtensibleSetElement extends BaseElement 'id' => $this->id . $this->suffix($this->chosenOptionCount), 'value' => $val ]); + $text->attributes()->set([ + 'autocomplete' => 'off', + 'autocorrect' => 'off', + 'autocapitalize' => 'off', + 'spellcheck' => 'false', + ]); $this->addRemainingAttributes($this->eventuallyDisable($text)); $this->add(Html::tag('li', null, [