Skip to content

Conversation

bald-cat
Copy link
Contributor

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,
                  ]),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant