Skip to content

Commit

Permalink
Merge pull request #16 from forxer/develop
Browse files Browse the repository at this point in the history
Added missing input hidden views
  • Loading branch information
forxer authored Jun 23, 2023
2 parents dfa3d1a + 382851c commit 3fa0dba
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CHANGELOG
------------------

- Added Confirm Modal component
- Added missing input hidden views


0.6.0 (2023-06-22)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<input
name="{{ $name }}"
type="hidden"
id="{{ $id }}"
@if($value)value="{{ $value }}"@endif
/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<input
name="{{ $name }}"
type="hidden"
id="{{ $id }}"
@if($value)value="{{ $value }}"@endif
/>
4 changes: 2 additions & 2 deletions src/Components/Forms/Inputs/Hidden.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class Hidden extends Input
{
use HasBootstrapVersion;

public function __construct(string $name, string $id = null, ?string $value = '', ?string $errorBag = null)
public function __construct(string $name, string $id = null, ?string $value = '')
{
parent::__construct($name, $id, 'hidden', $value, $errorBag);
parent::__construct($name, $id, 'hidden', $value);
}

public function render(): View
Expand Down

0 comments on commit 3fa0dba

Please sign in to comment.