Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class FormInput extends Component |
||
6 | { |
||
7 | use HandlesValidationErrors; |
||
8 | use HandlesDefaultAndOldValue; |
||
9 | |||
10 | public string $name; |
||
11 | public string $label; |
||
12 | public string $type; |
||
13 | public bool $floating; |
||
14 | |||
15 | public $value; |
||
16 | |||
17 | /** |
||
18 | * Create a new component instance. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function __construct( |
||
45 |