Placeholder for select element not hidden anymore (#493) (#499)

* Placeholder for select element not hidden anymore (#493)

* Fix tests for placeholder select element without hidden attribue
This commit is contained in:
ilyadrv authored and Tom Shafer committed 2018-03-16 09:57:31 -07:00
1 parent 5060a6641d
commit 623a150c91
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -769,7 +769,7 @@ class FormBuilder
'value' => '',
];
return $this->toHtmlString('<option' . $this->html->attributes($options) . ' hidden="hidden">' . e($display, false) . '</option>');
return $this->toHtmlString('<option' . $this->html->attributes($options) . '>' . e($display, false) . '</option>');
}
/**