@component('partials.selectize', [
'labelField' => 'name',
'valueField' => 'id',
'searchField' => 'bond',
'maxItem' => 1,
'url' => '/admin/api/bonds/',
'select_id' => 'bond',
'defaultValue' => !empty(old('bond'))?old('bond'):
((isset($bondProduct))?implode(",", [$bondProduct->bond_id]):null),
//'uploadedFiles' => $singer->attachments->toArray()
])
@endcomponent
@component('partials.selectize', [
'labelField' => 'name',
'valueField' => 'id',
'searchField' => 'name',
'maxItem' => 1,
'url' => '/admin/api/bond_product_type/',
'select_id' => 'bond_type',
'defaultValue' => !empty(old('bond_type'))?old('bond_type'):
((isset($bondProduct))?implode(",", [$bondProduct->bond_type_id]):null),
//'uploadedFiles' => $singer->attachments->toArray()
])
@endcomponent
@component('partials.selectize', [
'labelField' => 'name',
'valueField' => 'id',
'searchField' => 'name',
'url' => '/admin/api/bond_designs/',
'select_id' => 'bond_design',
'defaultValue' => !empty(old('bond_design'))?old('bond_design'):
((isset($bondProduct))?implode(",", [$bondProduct->bond_design_id]):null),
//'uploadedFiles' => $singer->attachments->toArray()
])
@endcomponent
@component('partials.selectize', [
'labelField' => 'name',
'valueField' => 'id',
'searchField' => 'name',
'maxItems' => 1,
'handler' => 1,
'url' => '/admin/api/unit_qty/',
'select_id' => 'unit',
'defaultValue' => !empty(old('unit'))?old('unit'):
((isset($bondProduct))?implode(",", [$bondProduct->qty_unit_id]):null),
//'uploadedFiles' => $singer->attachments->toArray()
])
@endcomponent