WebKenth
WebKenth
FFilament
Created by WebKenth on 10/6/2023 in #❓┊help
Target Class [cache] does not exist
No description
6 replies
FFilament
Created by WebKenth on 9/18/2023 in #❓┊help
Custom numbering of labels using Builder
Given documentation here: https://filamentphp.com/docs/3.x/forms/fields/builder#numbering-builder-items The only feature available is to have numbering based on every single item or none at all What i want: Numbering based on each type of block Currently: 3 blocks - breakfast - lunch - dinner add a few content blocks:
breakfast 1
lunch 2
dinner 3
breakfast 4
breakfast 1
lunch 2
dinner 3
breakfast 4
Desired outcome:
breakfast 1
lunch 1
dinner 1
breakfast 2
breakfast 1
lunch 1
dinner 1
breakfast 2
Diving into the features blockNumbers method only accepts a boolean or a closure which results in a boolean Is there any way to extend the place where it actually adds the numbers? Not sure wether it happens frontend livewire or it happens serverside Reasoning: i want to give the user a nice overview when all items are collapsed, my application requires the users to add 20 or more blocks of different types and some of the blocks have a required number ( like 16 ) so having a counter next to those will help make it more visible to the user how many they have created
3 replies