Skip to content

Make Select return arbitrary values instead of strings #3

Closed

Description

I would like to use the Select element to select different matrices with different names in the select combobox. I want the name to be displayed in the combobox and the matrix bound to the variable I @bind the Select to. So

@bind M Select([M1 => "Diagonal Matrix", M2 => "Symmetric Matrix"])

This currently does not work since Select binds the keys (which currently have to be strings) of the passed dict to the variable and displays the values.

Can we just change Select to support arbitrary keys instead just Strings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    needs Pluto.jl featureCan't be done right now because something is missing from Pluto.jl itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions