count how many item on repeater
How to count how many item that already create to user in laravel filament?
Please help me! Thank you very much!
Solution:Jump to solution
```php
Placeholder::make('repeater_count')
->content(fn (Get $get): string => count($get('repeater'))),
Repeater::make('repeater')
->schema([...
6 Replies
you can use formatStateUsing with $get
Hi! Thank you again for responding my question! could you give me an example, i really appriciate that!
Solution
?
string -> int
Thank you sou much @laradev @mvenghaus, you people are so nice!
May your day bless!
one more! question, where can i learn craft function like that? i still dont understand to make the function like that @mvenghaus @Leandro Ferreira