LaravelRUS / SleepingOwlAdmin

🦉 Administrative interface builder for Laravel (Laravel admin)
http://sleepingowladmin.ru/
MIT License
805 stars 217 forks source link

push two items in form please help me #21

Closed budeci closed 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

butschster commented 8 years ago

Hi, which version of SleepingOwl admin are you using?

You can see examples here https://github.com/LaravelRUS/SleepingOwlAdminDemo/tree/master/app/Admin

This repository is using 4.x version.

budeci commented 8 years ago

I use SleepingOwl v3 in V3 is possible such a trick? I want to add two fields in the form imported.