Phuc Le
Phuc Le
FFilament
Created by Phuc Le on 10/4/2023 in #❓┊help
Using Tab component with Table Builder
public function mount()
{
$this->authorize('view', $this->keywordReport);

$this->form->fill();
}
public function mount()
{
$this->authorize('view', $this->keywordReport);

$this->form->fill();
}
9 replies
FFilament
Created by Phuc Le on 10/4/2023 in #❓┊help
Using Tab component with Table Builder
I just did, but it doesn't work
9 replies
FFilament
Created by Phuc Le on 10/4/2023 in #❓┊help
Using Tab component with Table Builder
@toeknee I am not sure what you mean, but I do have a mount method in that component and no boot method
public function mount()
{
$this->authorize('view', $this->keywordReport);
}
public function mount()
{
$this->authorize('view', $this->keywordReport);
}
9 replies
FFilament
Created by KA on 8/29/2023 in #❓┊help
Displaying a description with HTML tag or entity on TextColumn
thank you, that works. Sorry for @ you, I didn't know that.
15 replies
FFilament
Created by KA on 8/29/2023 in #❓┊help
Displaying a description with HTML tag or entity on TextColumn
@Dan Harrin @KA Does v3 remove the html support in description method? This is my code, it renders html as text:
TextColumn::make('source')
->label('Source/Mode')
->formatStateUsing(fn(KeywordFinderSource $state): string => $state->headline())
->description(fn(KeywordReport $record): ?string => new HtmlString('<p class="text-2xl">' . $record->mode . '</p>'))
->html(),
TextColumn::make('source')
->label('Source/Mode')
->formatStateUsing(fn(KeywordFinderSource $state): string => $state->headline())
->description(fn(KeywordReport $record): ?string => new HtmlString('<p class="text-2xl">' . $record->mode . '</p>'))
->html(),
15 replies