Skip to content

one-way-select with prompt option auto-selects first element, so you never see the prompt #159

@RobIsHere

Description

@RobIsHere

This example with "prompt=..."
https://github.com/DockYard/ember-one-way-controls/blob/master/docs/one-way-select.md#adding-a-blank-or-prompt-option

auto-selects the first option from start. So the prompt never shows up.

You can use promptIsSelectable=true to work around this issue. But then the user can select the prompt again after he already made a choice. So you also need to validate for presence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions