{"issue":{"state":"closed","created_at":"2011-11-30T13:45:35Z","updated_at":"2011-12-05T22:42:30Z","user":{"gravatar_id":"fa65ee3d6d65b73c7167f3331cbeeeec","id":284395,"url":"https://api.github.com/users/d4rky-pl","login":"d4rky-pl","avatar_url":"https://secure.gravatar.com/avatar/fa65ee3d6d65b73c7167f3331cbeeeec?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Select driver doesn't allow to choose if we really want this empty option which is bad, considering sometimes it is necessary to select something (for example a category for product in directly-from-ORM form).\r\n\r\n    <option value=\"\"></option>\r\n    <?php foreach ($this->fields() as $option): ?>\r\n    \t<?php echo $option->render()?>\r\n    <?php endforeach; ?>\r\n\r\nI propose adding additional option show_empty (which defaults to true) to the select tag:\r\n\r\n    <?php if ($this->get('show_empty')) echo '<option value=\"\"></option>'; ?>","assignee":null,"id":2401880,"number":155,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Select driver forces empty option to appear","html_url":"https://github.com/bmidget/kohana-formo/issues/155","closed_at":"2011-12-05T22:42:30Z","url":"https://api.github.com/repos/bmidget/kohana-formo/issues/155","milestone":null},"action":"closed"}