Same width text fields in the form

How can I make the first, last name fields same 50% width in a single row?

My code is like this:
Forms\Components\TextInput::make('first_name')
    ->label('First Name')
    ->required()
    ->columnSpan(4),
Forms\Components\TextInput::make('last_name')
    ->label('Last Name')
    ->required()
    ->columnSpan(8),
image.png
Was this page helpful?