exactwebitesolutions
exactwebitesolutions
FFilament
Created by exactwebitesolutions on 7/3/2024 in #❓┊help
Prevent concealed component check affecting input min/max behaviour?
Sorry not explaining very well. When the section is not hidden you get the client-side validation
10 replies
FFilament
Created by exactwebitesolutions on 7/3/2024 in #❓┊help
Prevent concealed component check affecting input min/max behaviour?
There's no client side validation because it's hidden.
10 replies
FFilament
Created by exactwebitesolutions on 7/3/2024 in #❓┊help
Prevent concealed component check affecting input min/max behaviour?
Yeah you can manually add them but it seems a little backwards to lose this client-side validation and no mention of it in the documentation.
10 replies
FFilament
Created by exactwebitesolutions on 7/3/2024 in #❓┊help
Prevent concealed component check affecting input min/max behaviour?
@Dennis Koch I feel like it should be handled properly revealing the collapsed parent component instead of preventing the basic form validation min/max/required
10 replies
FFilament
Created by exactwebitesolutions on 10/30/2023 in #❓┊help
Render table component without a view
Still getting the same error:
Using $this when not in object context
<x-filament::input
autocomplete="off"
inline-prefix
:placeholder="__('filament-tables::table.fields.search.placeholder')"
type="search"
:wire:model.live.debounce.500ms="$wireModel"
x-bind:id="$id('input')"
:wire:key="$this->getId() . '.table.' . $wireModel . '.field.input'"
/>
<x-filament::input
autocomplete="off"
inline-prefix
:placeholder="__('filament-tables::table.fields.search.placeholder')"
type="search"
:wire:model.live.debounce.500ms="$wireModel"
x-bind:id="$id('input')"
:wire:key="$this->getId() . '.table.' . $wireModel . '.field.input'"
/>
Rendering the table inside a modal from a form action if that makes a difference?
Select::make('example')
->suffixAction(
Action::make('table')
->icon('heroicon-o-eye')
->modalContent(fn (): HtmlString => new HtmlString(Blade::render(<<<'blade'
<livewire:list-examples />
blade)))
),
Select::make('example')
->suffixAction(
Action::make('table')
->icon('heroicon-o-eye')
->modalContent(fn (): HtmlString => new HtmlString(Blade::render(<<<'blade'
<livewire:list-examples />
blade)))
),
5 replies
FFilament
Created by exactwebitesolutions on 10/11/2023 in #❓┊help
Edit select form throwing error if not exists
Updated it for clarity it was just to show that it happens when there's a relationship.
5 replies
FFilament
Created by riz on 10/11/2023 in #❓┊help
Assign default value on a field during AttachAction
If default('pending') is not working you can add this to the select ->afterStateHydrated(fn ($component) => $component->state('pending'))
7 replies
FFilament
Created by riz on 10/11/2023 in #❓┊help
Assign default value on a field during AttachAction
Try using the option key/value which would be lower case pending in your case on the Select
7 replies
FFilament
Created by exactwebitesolutions on 10/1/2023 in #❓┊help
Change the active relation manager tab
Was hoping Filament with Livewire v3 had a cool way of handling this using the new 'parent' without an event
6 replies
FFilament
Created by exactwebitesolutions on 10/1/2023 in #❓┊help
Change the active relation manager tab
Bump - still trying to find a solution
6 replies
FFilament
Created by exactwebitesolutions on 10/1/2023 in #❓┊help
Change the active relation manager tab
Thanks but no I need to access the Resource page instead of the model.
6 replies
FFilament
Created by exactwebitesolutions on 9/26/2023 in #❓┊help
Error on create with select and editOptionForm
Simple example with options but this happens on a prefilled relationship when the default value does not exist.
2 replies
FFilament
Created by exactwebitesolutions on 9/26/2023 in #❓┊help
Single FileUpload inside state path saves differently as json
I understand why it does it now thanks for explaining. Will look into doing it that way.
11 replies
FFilament
Created by exactwebitesolutions on 9/26/2023 in #❓┊help
Single FileUpload inside state path saves differently as json
Is there a way of overwriting how a state path is saved? I only want the json to be "{ 'image': 'icon2.svg' }" I thought Grid component was purely for display purposes.
11 replies
FFilament
Created by exactwebitesolutions on 9/26/2023 in #❓┊help
Single FileUpload inside state path saves differently as json
What's the idea behind it when it's only allowing one file to be uploaded? Can it be overwritten so it only saves the file path?
11 replies
FFilament
Created by GeRaged | Niklas on 9/1/2023 in #❓┊help
Translation with "bezhansalleh/filament-language-switch"
Do you by any chance have a RelationGroup with a translated label?
3 replies
FFilament
Created by exactwebitesolutions on 9/11/2023 in #❓┊help
Force deleting record error $record must not be accessed before initialization
Fixed it thanks - I had SoftDeletes but forgot to add:
->withoutGlobalScopes([
SoftDeletingScope::class,
])
->withoutGlobalScopes([
SoftDeletingScope::class,
])
I should have tried to reproduce this in a simple example before posting might be of help to somebody else.
7 replies
FFilament
Created by exactwebitesolutions on 9/11/2023 in #❓┊help
Force deleting record error $record must not be accessed before initialization
Typed property Filament\Resources\Pages\EditRecord::$record must not be accessed before initialization
7 replies
FFilament
Created by exactwebitesolutions on 9/9/2023 in #❓┊help
Adding a custom component that reuses choices js library
Thanks for confirming this. Guess it's the downside of the way modules work.
4 replies
FFilament
Created by alexanderkroneis on 9/6/2023 in #❓┊help
Label Relation Manager
Add to your relation manager class
public static function getTitle(Model $ownerRecord, string $pageClass): string
{
return __('Filament');
}
public static function getTitle(Model $ownerRecord, string $pageClass): string
{
return __('Filament');
}
6 replies