Skip to content

Commit dd15397

Browse files
committed
Using the ID of a widget instead of ID which can be passed via options property
1 parent 6a15c99 commit dd15397

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
Yii2 multiple input change log
22
==============================
33

4-
2.2.0 in development
5-
====================
4+
2.2.0
5+
=====
66

77
- #104: Fixed preparation of js attributes (Choate, unclead)
8+
- #109: Using the ID of a widget instead of ID which can be passed via options property (unclead)
89

910
2.1.1
1011
=====

src/MultipleInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function run()
197197
private function createRenderer()
198198
{
199199
$config = [
200-
'id' => $this->options['id'],
200+
'id' => $this->getId(),
201201
'columns' => $this->columns,
202202
'min' => $this->min,
203203
'max' => $this->max,

src/TabularInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function run()
147147
private function createRenderer()
148148
{
149149
$config = [
150-
'id' => $this->options['id'],
150+
'id' => $this->getId(),
151151
'columns' => $this->columns,
152152
'min' => $this->min,
153153
'max' => $this->max,

0 commit comments

Comments
 (0)