Yii2: ActiveForm doesn't invoke parent init().

Created on 22 Jan 2018  路  3Comments  路  Source: yiisoft/yii2

What steps will reproduce the problem?

Call $form = ActiveForm::begin()

What is the expected result?

Parent init() will be triggered.

What do you get instead?

Parent init() doesn't trigger.

Additional info

| Q | A
| ---------------- | ---
| Yii version | 2.0.13.1
| PHP version | 7.1.12-3
| Operating system | ubuntu16.04.1

bug

Most helpful comment

This is the same in other widgets too.

Block
ContentDecorator
DetailView
LinkPager
LinkSorter
Pjax
Spaceless

All 3 comments

This is the same in other widgets too.

Block
ContentDecorator
DetailView
LinkPager
LinkSorter
Pjax
Spaceless

Added in pull request

Was this page helpful?
0 / 5 - 0 ratings