Skip to content

Selecting multiple genres in create venue or artist sends only the first value #88

@ak-seyam

Description

@ak-seyam

Expected Behavior :

getting a comma-separated string values when i use request.form['genres']

Actual Behavior:

getting only the first selected genre

Steps to reproduce:

  • use the form to add or edit a venue or an artist
  • on controller-tier try inspecting request.form['genres'] at '/{artist or venue}/create' route

I know almost nothing about WT Forms and used the solution in #54 to fix the create page but when I saw this line I guessed that the result should be in comma-separated format
code snippet says placeholder = comma-separated values line new_artist.html line 32

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