giapele
giapele
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
i did this and it works
protected function schema(): array
{
return [
TextInput::make('title')->required()->label(__('labels.title')),
Repeater::make('reminders')
->label(__('labels.reminders'))
->relationship()
->schema([
TextInput::make('name')
->label(__('labels.reminder_name'))
->required(),

]),
DateTimePicker::make('start')->required()->label(__('labels.event_start'))->withoutSeconds()->native(false),
];
}

protected function headerActions(): array
{
return [
Actions\CreateAction::make()
->form($this->schema()),
];
}

protected function viewAction(): Actions\ViewAction
{
return Actions\ViewAction::make()
->form($this->schema());
}
protected function schema(): array
{
return [
TextInput::make('title')->required()->label(__('labels.title')),
Repeater::make('reminders')
->label(__('labels.reminders'))
->relationship()
->schema([
TextInput::make('name')
->label(__('labels.reminder_name'))
->required(),

]),
DateTimePicker::make('start')->required()->label(__('labels.event_start'))->withoutSeconds()->native(false),
];
}

protected function headerActions(): array
{
return [
Actions\CreateAction::make()
->form($this->schema()),
];
}

protected function viewAction(): Actions\ViewAction
{
return Actions\ViewAction::make()
->form($this->schema());
}
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
ok thank you
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
yes but this way i will have the form dublicate and if I add a field i don't want to have to add it 2 times
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
when i click the event on the calendar it opens the event but it looking for the getFormSchema i previously using
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
thank you the create work, but now on view it shows empty
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
the events from the resource work fine but with the same code on the calendarwidget i can view the created events but i can't create i get the previous error
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
I don't use livewire. A Made a minimal repo and i reproduce the issue https://github.com/giapele/test-app
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
this is the full resource
php
php
21 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
Νο this is inside the app/filament/widgets/calendarwidget and using the saade plugin
21 replies
FFilament
Created by InternalError on 11/26/2024 in #❓┊help
Display existing form in action modal
6 replies
FFilament
Created by giapele on 11/26/2024 in #❓┊help
filament repeat issue inside widget
21 replies
FFilament
Created by giapele on 9/28/2024 in #❓┊help
nested repeater with forms Actions Component
i use $form->fill(); for filling the form on the main section but i want to get the id on the mountUsing not parsing out from the mountUsing on the form. I did it for the boards but now i can't do it for the cards
3 replies
FFilament
Created by giapele on 9/26/2024 in #❓┊help
nested repeater extraItemActions
thank you
5 replies
FFilament
Created by giapele on 9/26/2024 in #❓┊help
Filament repeater pop up
thhank you
6 replies