jeph
two columns from a single database column
i see.. yeah i think that would work as well. i will go that route if there's no way to do it anymore using only filament. before in v2 its as simple as creating two TextColumn::make('name') with different labels.
6 replies
Form validation in Livewire component
We have the same problem.
Yours will probably work by adding ->validate() before you use the form data.
Ex.
But mine wont work. The problem with my code is that i combine form and table in one component.. $this->form->validate()
Just didn't work. It probably have
conflict variable with $form.
3 replies
Validation didn't work
Thank you so much for your time @Ngannv !
I really can't make that code work. Maybe there's something wrong with my code formatting. Is it okey to combine form and table in one component? maybe this is the one causing the problem. Here's the simplified version of my code:
https://vhelper.pro/share/pGX641H2L
9 replies
Validation didn't work
Hello @Ngannv !
Maybe you have some idea.
is not working.
while
validation works with error message when the condition is false (max is less than min). but if the condition true (max is greater than min), it would throw an error:
Typed property App\Livewire\Domaintable::$table must not be accessed before initialization
9 replies
How to limit the results displayed on a table for tables with more than 1M records
I have almost a million records though so i cannot disable pagination or else it would crash showing almost a million records at once. What i did was to just to add query->where("id", "<", 800000).
Works for me. Its just that >800000 wont be included in the results.
13 replies
How to limit the results displayed on a table for tables with more than 1M records
Yeah. You just need to disable pagination and your limit() will work. Laravel pagination feature overrides limit(). So when you disable pagination, it will work already.
13 replies