How can we pass a closure in the column method?

Is there a way to set a repeater columns based on a certain condition?
No description
6 Replies
waleedGRT
waleedGRTOP14mo ago
Filament\Forms\Components\Component::columns(): Argument #1 ($columns) must be of type array|string|int|null, Closure given, 🧐
krekas
krekas14mo ago
error is very clear. you cannot pass closure what are you trying to do?
waleedGRT
waleedGRTOP14mo ago
When tax is set to out of scope then columns should be 3 instead of 4
No description
waleedGRT
waleedGRTOP14mo ago
Hopefully, you can see the issue. Is there any other way?
Dennis Koch
Dennis Koch14mo ago
This is #table-repeater right? So best to ask in that channel
waleedGRT
waleedGRTOP14mo ago
Okay, I post the issue there
Want results from more Discord servers?
Add your server