Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Commit f0da45e

Browse files
committed
set value from request query
1 parent 2b6e5c1 commit f0da45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/SelectComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function init($name = null, $options = [], $value = null)
3131
{
3232
$this->name($name);
3333

34-
$this->value($value ?: old($name));
34+
$this->value($value ?: old($name) ?: request($name));
3535

3636
$this->options = $options;
3737

0 commit comments

Comments
 (0)