This commit is contained in:
stasbilay02 committed 2024-12-26 14:04:35 +03:00
1 parent b5b7befd34
commit 28c8e24847
7 files changed
+70 -15

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace kernel\filters;
use itguild\forms\builders\TextInputBuilder;
use Itguild\Tables\Filter\Filter;
class BootstrapTextFilter extends Filter
{
public function fetch()
{
$textInput = TextInputBuilder::build($this->name, [
'value' => $this->value,
'class' => "form-control"
]);
return "<td>" . $textInput->create()->fetch() . "</td>";
}
}