Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1422 Tag select support optgroup #1463

Merged
merged 3 commits into from
Oct 28, 2013
Merged

Fix #1422 Tag select support optgroup #1463

merged 3 commits into from
Oct 28, 2013

Conversation

dreamsxin
Copy link
Contributor

Fix #1422

$data = array(
    "status",
    array("Active" => array('A1' => 'A One', 'A2' => 'A Two'), "B" => "B One")
);
echo Tag::selectStatic($data);
<select id="status" name="status">
    <optgroup label="Active">
    <option value="A1">A One</option>
    <option value="A2">A Two</option>
    </optgroup>
    <option value="B">B One</option>
</select>

phalcon pushed a commit that referenced this pull request Oct 28, 2013
Fix #1422 Tag select support optgroup
@phalcon phalcon merged commit 177d4bc into phalcon:1.3.0 Oct 28, 2013
@dreamsxin dreamsxin deleted the tag_select branch August 20, 2014 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants