Fix placeholder not hide in select list. (#473)
* Update test. * Fix place holder show in select list.
This commit is contained in:
1 parent
e1318fcfdd
commit
5feb06537d
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -759,7 +759,7 @@ class FormBuilder
|
||||
'value' => '',
|
||||
];
|
||||
|
||||
return $this->toHtmlString('<option' . $this->html->attributes($options) . '>' . e($display) . '</option>');
|
||||
return $this->toHtmlString('<option' . $this->html->attributes($options) . ' hidden="hidden">' . e($display) . '</option>');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user