platform
platform copied to clipboard
Added sizes for Matrix
Fixes #
Proposed Changes
- Added method sizes() for settings collumns width in Matrix field? using bootstrap sizes
Example:
\App\Orchid\Fields\Matrix::make('parts')
->title('Parts')
->columns(['name', 'code', 'program_code', 'notice'])
->fields([
'name' => Input::make(),
'code' => Input::make(),
'program_code' => Input::make(),
'notice' => Input::make(),
])
->sizes([
'name' => 4,
'code' => 1,
'program_code' => 1,
'notice' => 6,
]),