some fix filters

This commit is contained in:
2024-08-28 12:12:52 +03:00
parent b4dc2f6ab1
commit f03ec200ac
4 changed files with 13 additions and 11 deletions

View File

@ -15,7 +15,7 @@ $table->columns([
'description' => [
"format" => "html",
"style" => ["width" => "300px"],
"filter" => ["input" => ["radio" => "hello", "bye"]],
"filter" => ["input" => ["radio" => ["hello", "bye"]]],
"value" => function ($cell) {
return "<span style='color: sienna'>$cell</span>";
}