Skip to content

Drop-down JS interface for Literal choices #115

@liamhuber

Description

@liamhuber

E.g.

@as_function_node
def Choice(choose: Literal["a", "b", "c"]):
    chosen = choose
    return chosen

Should represent with a drop-down menu for choosing a, b, or c.

I swear I've seen drop down menus here before, but it might have been in Joerg's version. At any rate, the example above is not enough to give the desired behaviour on main right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions