laravel/framework — pull request #5913 by hackel (2014-09-30 03:23:53+00:00)
Title: Add disabled attribute to select options with empty value.

There is currently no way to set attributes on a select option using FormBuilder::select. This tiny patch adds the disabled attribute to an option if the value is an empty string. An initial option with empty value is used as the "placeholder label option," as per HTML5 spec, but it should not be selectable by the user.