make tab full width?
hi i have a form that have tabs, how i can make it full width all windows? thank you
Tabs::make('Tabs')
->tabs([
Tabs\Tab::make('Tab 1')
->schema([
TextInput::make('name')
->required()
->label(trans('filament-users::user.resource.name')),
TextInput::make('cedula')
->required()
->label('cedula'),
TextInput::make('idcliente')
->required()
->label('idcliente'),
Forms\Components\Select::make('roles')
->multiple()
->preload()
->relationship('roles', 'name')
->label(trans('filament-users::user.resource.roles')),
]),
Tabs\Tab::make('Tab 2')
->schema([
TextInput::make('direccion_principal')
->required()
->label('direccion_principal'),
TextInput::make('ruc')
->required()
->label('ruc'),
TextInput::make('dv')
->required()
->label('dv'),
TextInput::make('email')
->email()
->required()
->label(trans('filament-users::user.resource.email')),
]),
Tabs\Tab::make('Tab 3')
->schema([
// ...
]),
])
];
Tabs::make('Tabs')
->tabs([
Tabs\Tab::make('Tab 1')
->schema([
TextInput::make('name')
->required()
->label(trans('filament-users::user.resource.name')),
TextInput::make('cedula')
->required()
->label('cedula'),
TextInput::make('idcliente')
->required()
->label('idcliente'),
Forms\Components\Select::make('roles')
->multiple()
->preload()
->relationship('roles', 'name')
->label(trans('filament-users::user.resource.roles')),
]),
Tabs\Tab::make('Tab 2')
->schema([
TextInput::make('direccion_principal')
->required()
->label('direccion_principal'),
TextInput::make('ruc')
->required()
->label('ruc'),
TextInput::make('dv')
->required()
->label('dv'),
TextInput::make('email')
->email()
->required()
->label(trans('filament-users::user.resource.email')),
]),
Tabs\Tab::make('Tab 3')
->schema([
// ...
]),
])
];
Solution:Jump to solution
not sure if this what you're looking for, but try
...
Tabs::make('Tabs')->columnSpanFull()
Tabs::make('Tabs')->columnSpanFull()
3 Replies
Solution
not sure if this what you're looking for, but try
Tabs::make('Tabs')->columnSpanFull()
Tabs::make('Tabs')->columnSpanFull()
yeah i tried that but nothing changes , it should take all space
my bad it works
cache issue
thank you