Skip to content

Commit 34efb86

Browse files
committed
Fixed a rendering of remove button
1 parent dbe6670 commit 34efb86

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Yii2 multiple input change log
44
1.2.11 in development
55
---------------------
66

7+
- Bug #61: Fixed a rendering of remove button
8+
79
1.2.10
810
------
911

src/renderers/TableRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private function getActionButton($index)
238238
}
239239

240240
$index += 1;
241-
if ($index < $this->min || $index == $this->limit) {
241+
if ($index < $this->min) {
242242
return '';
243243
} elseif ($index == $this->min) {
244244
return $this->addButtonPosition == self::POS_ROW ? $this->renderAddButton() : '';

0 commit comments

Comments
 (0)