sleeping-owl / admin

Administrative interface builder for Laravel
http://sleeping-owl.github.io/
MIT License
503 stars 260 forks source link

push two items in form please help me #334

Open budeci opened 8 years ago

budeci commented 8 years ago

$description = Admin::model(Ecommerce\Productso\Models\CategoryDescription::class)->fullEdit($editId);

$description->items([
    FormItem::hidden('language_id')->defaultValue($id),
    FormItem::hidden('language_id')->defaultValue($item->language_id)
 ]);

$tabs[] = AdminDisplay::tab($description)->label($item->name);

I want to add two fields in imported form