yiisoft / yii2

Yii 2: The Fast, Secure and Professional PHP Framework
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
14.24k stars 6.9k forks source link

"Extending ActiveForm on the Client Side" is missing documentation for `afterInit` event #20208

Open MathiasSchwaller opened 5 months ago

MathiasSchwaller commented 5 months ago

The Documentation "Extending ActiveForm on the Client Side" (https://www.yiiframework.com/doc/guide/2.0/en/input-form-javascript#activeform-events) is missing documentation for the afterInit event added with #12747.

What steps will reproduce the problem?

What is the expected result?

What do you get instead?

Additional info

Q A
Yii version 2.0.?
PHP version
Operating system
samdark commented 5 months ago

Thanks for reporting it. Do you have some time for a pull request?

MathiasSchwaller commented 5 months ago

Thanks for reporting it. Do you have some time for a pull request?

You're welcome. Yeah sure, but probably next week or so. I'll just copy the documentation from code and adjust it to match existing documentation. Is that fine?

samdark commented 5 months ago

Yes. Absolutely.