Skip to content

ListItemGroup with selected items checkboxes #315

@Jhsmit

Description

@Jhsmit

Hi,

I would like to make a List of items where multple items can be selected. I'm using this code:

with solara.v.List(nav=True):
    with solara.v.ListItemGroup(v_model=active, on_v_model=set_active, multiple=True):
        for filename in filenames:
            solara.v.ListItem(children=[filename])

(solara.vis an alias for ipyvuetify)

I would like to add a checkbox just to make it visually more clear an item is selected. Can I do this with v_slots ?
I'm looking at a vuetify example here but I cannot reproduce this in ipyvuetify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions