Skip to content

Can't parse and store checkboxes entries in an array #20

Description

@elhmn

I would like to parse checkboxes entries and store them in an array.

I currently have an issue form containing this snippet 👇

 - type: checkboxesid: fav_frameworksattributes:
label: What are your favourite frameworks ?options:
- label: React.js
- label: jQuery
- label: Express
- label: Angular
- label: Vue.js
- label: ASP.NET Core
- label: Flask
- label: ASP.NET
- label: Django
- label: Spring
- label: Angular.js
- label: Laravel
- label: Ruby on Rails
- label: Gatsby
- label: FastAPI
- label: Symfony
- label: Svelte
- label: Drupal

And would like the output to be similar to:

{
"fav_frameworks": ["Laravel", "Svelte"]
}

The current behaviour would produces this:

 {
"laravel": true,
"svelte": true,
}

Activity

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

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