Skip to content

allowMismatch only works if user does not select an option first #13

@DODMax

Description

@DODMax

When allowMismatch is enabled, if the user first selects an option and then enter a custom value the value of the first selected item is still associated to the field name.
It is therefore not possible to know if the user entered a custom value or picked from the list.

More info:
Option list looks like that B
$_POST['select'] => A (last option selected, even if custom value entered)
$_POST['new_select'] => B (literal value of the option, even if an option has been selected from the list)

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