infoList basic Grid 3 columns only see the 3 column
public static function infolist(Infolist $infolist): Infolist
{
return $infolist
->schema([
Grid::make(3)
->columnStart(1)
->schema([
Section::make('Algemeen')
->columns(1)
->schema([
TextEntry::make('Bedrijf_user'),
]),
])
->columnStart(2)
->schema([
Section::make('Contactpersonen')
->columns(1)
->schema([
TextEntry::make('Phone'),
]),
])
->columnStart(3)
->schema([
RepeatableEntry::make('inlogGegevens')
->columns(1)
->schema([
TextEntry::make('InlogNaam')
->copyable()
->copyMessage('Copied!'),
TextEntry::make('UserName')
->copyable()
->copyMessage('Copied!'),
TextEntry::make('Password') // Corrected field reference
->copyable()
->copyMessage('Copied!'),
])
]),
]);
} public static function infolist(Infolist $infolist): Infolist
{
return $infolist
->schema([
Grid::make(3)
->columnStart(1)
->schema([
Section::make('Algemeen')
->columns(1)
->schema([
TextEntry::make('Bedrijf_user'),
]),
])
->columnStart(2)
->schema([
Section::make('Contactpersonen')
->columns(1)
->schema([
TextEntry::make('Phone'),
]),
])
->columnStart(3)
->schema([
RepeatableEntry::make('inlogGegevens')
->columns(1)
->schema([
TextEntry::make('InlogNaam')
->copyable()
->copyMessage('Copied!'),
TextEntry::make('UserName')
->copyable()
->copyMessage('Copied!'),
TextEntry::make('Password') // Corrected field reference
->copyable()
->copyMessage('Copied!'),
])
]),
]);
} 