Skip to content

Commit

Permalink
Forms: fix PHP warning on TextField input
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Feb 10, 2025
1 parent 6b24a7a commit 9d42d5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Forms/Input/TextField.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ protected function getElement()
return Component::render(TextField::class, $this->getAttributeArray() + [
'groupClass' => $this->getGroupClass(),
'unique' => !empty($this->unique) ? $this->unique : [],
'uniqueData' => !empty($this->unique) ? json_encode($this->unique['ajaxData']) : '',
'autocompleteList' => $this->autocomplete
? $this->autocomplete
: '',
Expand Down

0 comments on commit 9d42d5c

Please sign in to comment.