ExtensibleSetElement: no autocomplete for...
...existing options - might be confusing
This commit is contained in:
parent
54e17237e3
commit
04a72fbc5a
|
@ -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, [
|
||||
|
|
Loading…
Reference in New Issue