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
Desired outcome:
Diving into the features
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
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
Desired outcome:
Diving into the features
blockNumbers method only accepts a boolean or a closure which results in a booleanIs 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