Skip to content

Hint disappearing as soon as items bound #31

@toddanglin

Description

@toddanglin

Is there a trick to getting the "hint" to stay visible until an user has interacted with the DropDown? In my tests, the hint is immediately hidden as soon as I set the items property.

I've tried both declarative and imperative binding:

<dd:DropDown items={{ myItems }} hint="Choose one..." id="ddTest" />
OR
let dd = page.getViewById("ddTest");
dd.items = myItems;

I see the hint on the screen briefly, but it is quickly replaced with the first item from the bound list (before any user interaction). Any ideas?

FWIW, I'm on iOS and I'm using the ValueList/IValueItem approach described in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions