Fix placeholder not hide in select list. (#473)

* Update test.

* Fix place holder show in select list.
This commit is contained in:
ThunderbirdsX3 authored and Tom Shafer committed 2018-02-05 07:59:23 -07:00
1 parent e1318fcfdd
commit 5feb06537d
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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>');
}
/**