TextInputColumn $get
I'm creating a table that allows inline editing using
TextInputColumn
'. I would like to get a previous fields value in order to do some db updating:
I'm probably misusing $get
here, but I can't wrap my head around it.4 Replies
$record
?Keep in mind that I'm dumb, what do you mean? π
For what its worth, the input's value I want to get is not a database column, its just an input value that I need to use on the second input in order to do a database insert.
So basically I'm trying to 'collect' 2 input's values before doing anything with my database (can't do much with both values separately)
hum.. why not a table action + form?
https://filamentphp.com/docs/3.x/actions/modals#modal-forms
It's a lot of data the user has to input, so kinda want to have it all in one table so they can just
Tab
through it.
I could do something like this instead of using $get
:
Think, since what I'm building is kinda dumb in terms of Filament nativeness, this is the way to go for me. Unless you have a good idea π