samdark / yii2-cookbook

Yii 2.0 Community Cookbook
1.45k stars 297 forks source link

Field error attribute is relative to container #140

Closed dmytroraschepkin closed 7 years ago

dmytroraschepkin commented 7 years ago

Error element selector is relative to field container. So specifying container selector there will not work. It may confuse readers. See yii.activeForm.js to confirm this. // the jQuery selector of the error tag under the context of the container

samdark commented 7 years ago

Thanks!