Skip to content

Clearing a list requires two clicks #196

@alexbainbridge

Description

@alexbainbridge

Thanks for this component.

Example

<treeselect v-model="internalValue" :disable-branch-nodes="true" :clearable="true" :async="true" :load-options="loadTreeOptions"/>

State 1 - With a value set (and you can see the x for clearing the input)

image

State 2 - You click the cross and it now shows...

image

State 3 - Click the cross again and you get...

image

The value below the treeselect is a json representation of what the ID looks like

My expectation is that when you are in state 1, and you click the cross, the component should go straight to state 3.

Thanks!
Alex

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