How to re render the table

Is it possible when i update the state of mine form to re render table mine code is
1 Reply
mile4841
mile48412d ago
Radio::make("type_report")
->label(__("inputs.statistics-report-type"))
->options([
"found" => __("inputs.statistics-report-success"),
"not_found" => __("inputs.statistics-report-unsuccess"),
"all" => __("inputs.statistics-report-all"),
])
->inline()
->inlineLabel(false)
->default("found")
->rules(['required', "in:all,found,not_found"])
->live()
->afterStateUpdated(function(Get $get){
$this->formData['type_report'] = $get("type_report");
// i would like here to tell mine table re render
})
->columnSpan(1),
Radio::make("type_report")
->label(__("inputs.statistics-report-type"))
->options([
"found" => __("inputs.statistics-report-success"),
"not_found" => __("inputs.statistics-report-unsuccess"),
"all" => __("inputs.statistics-report-all"),
])
->inline()
->inlineLabel(false)
->default("found")
->rules(['required', "in:all,found,not_found"])
->live()
->afterStateUpdated(function(Get $get){
$this->formData['type_report'] = $get("type_report");
// i would like here to tell mine table re render
})
->columnSpan(1),
$this->resetTable(); is the solution
Want results from more Discord servers?
Add your server