Iven S. | LvckyWorldᶜʳᵉʷ
Iven S. | LvckyWorldᶜʳᵉʷ
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
And this has fixed the problem with 'close-modal' for you?
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
My model only has the Sushi trait
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
protected $primaryKey = 'id'; protected $keyType = 'string';
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
In the sushi model/model define The key as 'string'
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
Yes i am using UUID
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
That's the exact same problem
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
No, no solution
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
Okay, I have a PlanResource it's a default Resource (class PlanResource extends Resource) there i have a relation:
#[\Override]
public static function getRelations(): array
{
return [
'planComponents' => PlanComponentsRelationManager::class,
];
}
#[\Override]
public static function getRelations(): array
{
return [
'planComponents' => PlanComponentsRelationManager::class,
];
}
This relation was resolved by:
class PlanComponentsRelationManager extends RelationManager
class PlanComponentsRelationManager extends RelationManager
and in PlanComponentsRelationManager there is the table with a action. And that action is not doing anything:
class PlanComponentsRelationManager extends RelationManager
{
protected static string $relationship = 'planComponents';

protected static ?string $title = "Komponenten";

#[\Override]
public function form(Form $form): Form
{
return $form
->schema([
ViewField::make("_notice")
->visibleOn('create')
->columnSpan(2)
->label('Hinweis'),
]);
}

public function table(Table $table): Table
{
return $table
->recordTitleAttribute('name')
->columns([
// columns
])->actions([
Tables\Actions\ViewAction::make(),
Action::make('test')
->requiresConfirmation()
->modalHeading('Test')
// ->modalSubmitAction(false)
->modalCancelAction(fn(StaticAction $action) => $action->label(__('filament-actions::view.single.modal.actions.close.label')))
->form([
TagsInput::make('test')
->label('Interval')
])
->action(function() {
Notification::make('message')
->title('Test')
->body('This is test')
->success()
->send();
}),
])
}
}
class PlanComponentsRelationManager extends RelationManager
{
protected static string $relationship = 'planComponents';

protected static ?string $title = "Komponenten";

#[\Override]
public function form(Form $form): Form
{
return $form
->schema([
ViewField::make("_notice")
->visibleOn('create')
->columnSpan(2)
->label('Hinweis'),
]);
}

public function table(Table $table): Table
{
return $table
->recordTitleAttribute('name')
->columns([
// columns
])->actions([
Tables\Actions\ViewAction::make(),
Action::make('test')
->requiresConfirmation()
->modalHeading('Test')
// ->modalSubmitAction(false)
->modalCancelAction(fn(StaticAction $action) => $action->label(__('filament-actions::view.single.modal.actions.close.label')))
->form([
TagsInput::make('test')
->label('Interval')
])
->action(function() {
Notification::make('message')
->title('Test')
->body('This is test')
->success()
->send();
}),
])
}
}
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
but on other sites/relations the viewaction works like it should
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
like you can see in the attached video
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
and view action doesnt work too
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/24/2024 in #❓┊help
Tables Action does nothing
yes, i don't have a other test action
24 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
thank you
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
No description
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
i just printed it into the label, to see, if the column can be read and have content
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
it should be set as content
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
No description
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html

tools/php artisan about --only=Filament

Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.81
Views ......................................................................................................... PUBLISHED: filament, notifications

tools/php artisan about --only=Filament

Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.81
Views ......................................................................................................... PUBLISHED: filament, notifications
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 5/23/2024 in #❓┊help
richeditor is not rendering html
data is there,but it is no rendered
16 replies
FFilament
Created by Iven S. | LvckyWorldᶜʳᵉʷ on 1/25/2024 in #❓┊help
render a filament table using blade
The implementation is very dirty xd
18 replies