hizmarck
hizmarck
FFilament
Created by Thomas van der Westen on 2/1/2025 in #❓┊help
How it the repeater data loaded?
your repeater is collapsed by default? (->collapsed)
16 replies
FFilament
Created by hizmarck on 2/1/2025 in #❓┊help
Reorderable Works on Modal but doesn't on Edit Page
the code is the same: $repeater = Repeater::make('folios') ->label(('orderFolios.plural')) ->hint(('orderFolios.helpers.tableDescription')) ->columns(4) ->itemLabel(function (array $state) { $item_label = collect([$state['folio_order'] ?? null, $state['folio_remission'] ?? null, $state['folio_po'] ?? null]) ->filter() ->implode(' - '); return $item_label ?: __('orderFolios.helpers.untitled'); }) ->schema(function (?ShipmentTracking $record, $operation) { $isNotEditOperation = !(!empty($record) && $operation === 'edit'); return [ self::folioOrderTxt()->live(onBlur: true), self::documentOrderFile(), self::folioRemissionTxt($isNotEditOperation)->live(onBlur: true), self::documentRemissionFile($isNotEditOperation), self::folioPOTxt()->required(false)->live(onBlur: true), self::documentPOFile(), self::folioNotesTxt()->columnSpan($operation === 'edit' ? 2 : 'full'), ]; }) ->columnSpan('full') ->collapsed(fn($operation) => $operation !== 'edit') ->collapsible(true) ->orderColumn('sort') ->reorderable(true) ->addAction(fn($action) =>$action->icon('heroicon-o-plus')) ->minItems(1); if (!$isNew) { $repeater->relationship('orderFolios'); } return $repeater;
4 replies
FFilament
Created by hizmarck on 2/1/2025 in #❓┊help
Reorderable Works on Modal but doesn't on Edit Page
No description
4 replies
FFilament
Created by hizmarck on 1/28/2025 in #❓┊help
Updating from 3.2.94 to 3.2.135 breaks my menu
yes, that was the problem, those are the initial parts of my theme.css, I started removing things and finally, I found the solution: resources/css/filamentphp/app/theme.css @import '/vendor/filament/filament/resources/css/theme.css'; @import '/vendor/awcodes/filament-table-repeater/resources/css/plugin.css'; @config 'tailwind.config.js'; @tailwind base; @tailwind components; @tailwind utilities; ... more code... these 3 ones: @tailwind base; @tailwind components; @tailwind utilities; tyvm to both, I really appreciate their time.
12 replies
FFilament
Created by hizmarck on 1/28/2025 in #❓┊help
Updating from 3.2.94 to 3.2.135 breaks my menu
I removed my theme, ->viteTheme('resources/css/filament/app/theme.css'); Now that the menu is working, I know that the problem is the theme. but how it was working in the 3.2.94 version but it doesn't in the new one?
12 replies
FFilament
Created by hizmarck on 1/28/2025 in #❓┊help
Updating from 3.2.94 to 3.2.135 breaks my menu
ironically running that command breaks the ui :S
12 replies
FFilament
Created by hizmarck on 1/28/2025 in #❓┊help
Updating from 3.2.94 to 3.2.135 breaks my menu
btw I'm using your table repeater, It's amazing! 💯
12 replies
FFilament
Created by hizmarck on 1/28/2025 in #❓┊help
Updating from 3.2.94 to 3.2.135 breaks my menu
No description
12 replies