ExtensibleSetElement: no autocomplete for...

...existing options - might be confusing
This commit is contained in:
Thomas Gelf 2017-09-04 12:27:48 +02:00
parent 54e17237e3
commit 04a72fbc5a
1 changed files with 6 additions and 0 deletions

View File

@ -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, [