RepeatableEntry does not show any data inside the array
form
Repeater::make('inlogGegevens')
->collapsible()
->schema([
TextInput::make("inlogGegevens.*.InlogNaam")
->label('Inlog Naam')
,
TextInput::make("inlogGegevens.*.UserName")
->label('User Name')
,
TextInput::make("inlogGegevens.*.Password")
->label('Password')
])
->columns(1),
Repeater::make('inlogGegevens')
->collapsible()
->schema([
TextInput::make("inlogGegevens.*.InlogNaam")
->label('Inlog Naam')
,
TextInput::make("inlogGegevens.*.UserName")
->label('User Name')
,
TextInput::make("inlogGegevens.*.Password")
->label('Password')
])
->columns(1),
1 Reply
RepeatableEntry::make('inlogGegevens')
->columns(1)
->schema([
TextEntry::make('InlogNaam')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
TextEntry::make('UserName')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
TextEntry::make('Password')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
])
RepeatableEntry::make('inlogGegevens')
->columns(1)
->schema([
TextEntry::make('InlogNaam')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
TextEntry::make('UserName')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
TextEntry::make('Password')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->action(function (Test01 $record) {
$record->Password;
$record->save();
})
),
])