Hello @atayahmet
This is very awesome plugin so far.. But I found some issues :
How to embed placeholder / empty item in dropdown? Right now it will generate dropdown item from table's record. I got problem when I want to add element <option value="">Please Choose</option>
I try to assign selected item. I code like this:
ShopCategory::selected(1)->renderAsDropdown() but always generate a multiple type option that I don't want. How to solve this?
It will also break the laravel query builder :( . For example I have code like this:
ShopCategory::where('parent_id',0)->orderBy('name','ASC')->get() , the condition 'parent_id' = 0 will be ignored.
Hello @atayahmet This is very awesome plugin so far.. But I found some issues :
How to embed placeholder / empty item in dropdown? Right now it will generate dropdown item from table's record. I got problem when I want to add element
<option value="">Please Choose</option>
I try to assign selected item. I code like this:
ShopCategory::selected(1)->renderAsDropdown()
but always generate a multiple type option that I don't want. How to solve this?It will also break the laravel query builder :( . For example I have code like this:
ShopCategory::where('parent_id',0)->orderBy('name','ASC')->get()
, the condition 'parent_id' = 0 will be ignored.Thanks