Skip to content

How to clear select control options #327

Open
@TheGreatPintoJ

Description

@TheGreatPintoJ

Is there a specific way to remove or clear options from a select control?
I have tried ESPUI.updateSelect(mainSelector, ""); but it just changes the selected value to nothing
I really wouldn't like needing to removeControl and addControl every time I need to clear it, so consider this a feature request if it isn't already implemented

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