Ticket #574 (closed Bug: fixed)

Opened 6 months ago

Last modified 5 months ago

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

Changed 5 months ago by Shadowhand

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 2.2 to 2.1.2

Fixed in r2706, merged in r2707.

Note: See TracTickets for help on using tickets.