Skip to content

Commit

Permalink
修复 group 无效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhuish committed Dec 12, 2021
1 parent 59a0340 commit 67976d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Form/Field/Autocomplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ public function render()
{
$this->formatGroupOptions();

$this->configs([
'groupBy' => $this->groupBy,
]);

$this->addVariables([
'options' => json_encode($this->options, \JSON_UNESCAPED_UNICODE),
'configs' => JavaScript::format($this->configs),
]);

$this->configs([
'groupBy' => $this->groupBy,
]);

return parent::render();
}

Expand Down

0 comments on commit 67976d0

Please sign in to comment.