Skip to content

Conversation

b4oshany
Copy link

No description provided.

@b4oshany b4oshany changed the title Add support to bootstrap grid and additing new attributes. Add bootstrap grid support and additing new attributes. Sep 25, 2021
@bastinald
Copy link
Owner

This is interesting, I'm actually working on a newer version of this package.

What do you think about a field called Row?

example:

Row::make([
  Input::make('First Name')->colLg(6),
  Input::make('Last Name')->colLg(6),
]);

@b4oshany b4oshany force-pushed the master branch 2 times, most recently from bd181dc to 625452b Compare September 26, 2021 04:54
@b4oshany b4oshany changed the title Add bootstrap grid support and additing new attributes. Add bootstrap grid support and additional new attributes. Sep 26, 2021
@b4oshany
Copy link
Author

b4oshany commented Oct 8, 2021

What do you think about a field called Row?

Makes sense. I'm assuming, there will be a Col::make as well to provide further nesting or you don't want to get too complex.

@b4oshany
Copy link
Author

@bastinald, I updated the code:

Bootstrap Grid

Add bootstrap support to the form.

Row ($label = null) and RowColumn ($label = null)

An array of fields display in a Bootstrap Row or Column

Row::make()->fields([
    Input::make('city')->placeholder('City'),
    Select::make('state')->placeholder('State')->options(['FL', 'TX']),
]),

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants