Skip to content

Commit e42f78b

Browse files
authored
Merge pull request #1473 from KodeStar/2.x
Add misisng input type in the form builder
2 parents 57e0a33 + 08b8ab6 commit e42f78b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

app/Services/CustomFormBuilder.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@ public function textarea($name, $value = null, $options = [])
3535
);
3636
}
3737

38+
public function input($type, $name, $value = null, $options = [])
39+
{
40+
return new HtmlString(
41+
$this->html->input($type, $name, $value)->attributes($options)
42+
);
43+
}
44+
3845
// Add other methods as needed
3946
}

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
return [
77

8-
'version' => '2.7.0',
8+
'version' => '2.7.1',
99

1010
'appsource' => env('APP_SOURCE', 'https://appslist.heimdall.site/'),
1111

0 commit comments

Comments
 (0)