Ticket #574 (closed Bug: fixed)
Form_Dropdown doesn't unset label
| Reported by: | alexsancho | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.2 |
| Component: | Modules:Forge | Version: | SVN HEAD |
| Keywords: | forge dropdown | Cc: |
Description
Forge Form_Dropdown html_element method should unset label like other input elements
public function html_element()
{
// Import base data
$base_data = $this->data;
unset($base_data['label']);
// Get the options and default selection
$options = arr::remove('options', $base_data);
$selected = arr::remove('selected', $base_data);
return form::dropdown($base_data, $options, $selected);
}
Change History
Note: See
TracTickets for help on using
tickets.
