Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs found for model with an attribute "code" #3860

Closed
hanwayTech opened this issue May 4, 2015 · 2 comments
Closed

Bugs found for model with an attribute "code" #3860

hanwayTech opened this issue May 4, 2015 · 2 comments

Comments

@hanwayTech
Copy link

When rendering form for a model with an attribute called code something goes wrong.

field($model,"code")->textArea();?>

The textarea widget won't show up.

@georaldc
Copy link

georaldc commented May 4, 2015

First time I've seen that. Is that a CActiveForm instance? CActiveForm doesn't have a field() method. Text areas are rendered using CActiveForm::textArea().

$form->textArea($model, 'attribute')

@cebe
Copy link
Member

cebe commented May 5, 2015

looks like it is a yii2 thing. please use https://github.com/yiisoft/yii2 to report bugs for yii2. for other quetsions please use the forum. Thanks.

@cebe cebe closed this as completed May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants