Skip to content

Pre-defined values for select inputs are not set #15

Open
@badda71

Description

@badda71

When generating a select-Input the given value is neglected and always the first option ist set initially.
E.g.
$form->add_input("Field", array("type" => "select", "options" => array ("1"=>"1", "2"=>"2"), "value"=>"2"), "field");
will generate a select box where "1" is selected initially, not "2".
Expected behaviour would be that "2" is selected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions