JoseBravo
Ioncube encoder
Because IonCube is being loaded as an extension in php (zend_extension), it doesn't throw any exception. The PHP process just dies. I have several Filament Resources and all of them are working good, the only problem that I'm experiencing is in the unique closure of that TextInput.
15 replies
Async status
@3rgo the problem with this solution is that it won't update the table until the action is done.
Actions\CreateAction::make(),
Actions\Action::make("check_status")
->label("Check SSH status")
->action(function (array $data): void {
foreach ($this->getTableRecords() as $record) {
$record->sshStatus=true;
sleep(1);
}
})
7 replies
Async status
But I don't know where I should define the data array, in the Resource where I have the table method? Or in the ListRecords page?
formatStateUsing is a method that I can use within the $table->columns() function in my Resource. I assume that the data array should be an attribute of the ListRecord page, because the conent of this array should be manipulated by the action (which is other function/method)
7 replies