This commit is contained in:
2025-03-14 17:42:58 +03:00
commit a283d2cf37
13 changed files with 395 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<?php
namespace Itguild\App\active_fields;
use Itguild\Form2\ActiveField;
class TextActiveField extends ActiveField
{
public function fetchField(): string
{
$html = '';
$html .= "</br><label for='" . $this->data['id'] . ">" . $this->data['label'] . "</label>";
$html .= "<input type='" . $this->data['type'] . "' name='" . $this->data['id'] . "' id='" . $this->data['id'] . "' class='" . $this->data['class'] . "' >";
return $html;
}
}