Skip to content
Discussion options

You must be logged in to vote

Here's a refactored version of your code, including a content class "h-64" for the dropdown button and an input element for toggling the visibility of individual checkboxes:

rows = [
    {'name': 'Alice', 'age': 18},
    {'name': 'Bob', 'age': 21},
    {'name': 'Carol', 'age': 42},
    {'name': 'David', 'age': 12},
    {'name': 'Eve', 'age': 34},
    {'name': 'Frank', 'age': 67},
    {'name': 'Abe', 'age': 18},
    {'name': 'Celia', 'age': 21},
    {'name': 'Edith', 'age': 42},
    {'name': 'Elva', 'age': 12},
    {'name': 'Alice', 'age': 34},
    {'name': 'Carol', 'age': 67},
    {'name': 'Jessica', 'age': 18},
    {'name': 'Laura', 'age': 21},
    {'name': 'Polly', 'age': 42},
    {'name'

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tz301
Comment options

@falkoschindler
Comment options

@tz301
Comment options

@falkoschindler
Comment options

Answer selected by tz301
@tz301
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants