laravel-livewire-forms
laravel-livewire-forms copied to clipboard
Add bootstrap grid support and additional new attributes.
trafficstars
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),
]);
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.
@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']),
]),