Tobias Munk
Tobias Munk
Was one reason for me to create giiant, back then :) https://github.com/schmunk42/yii2-giiant
Another option would be to move the generated code into `Traits` and just have a more or less empty class using them.
If default values are set in the database, why do you need it in your model?
I was referring to those two lines in the patched output ``` [['brand_id'], 'default', 'value' => 1], [['state_id'], 'default', 'value' => 2], ```
If there's a default value in the DB, I think it's debatable whether you want that in your model. If you "just" change it in the DB, you have to...
I think this should either be enabled by a parameter or done in a 2.2.x release.
I don't get it from the description, but apparently @samdark does, so it's fine :smile:
Moreover, there's a syntax error, missing changelog and it is not BC.
@machour We tried similar things in https://github.com/schmunk42/yii2-giiant, especially with `Url::remember()`, but this created a lot of problems when working with multiple tabs. Moreover if you have a delete button in...
How about using `$_GET['return_url']`?