Skip to content
This repository was archived by the owner on Nov 2, 2019. It is now read-only.

Array of String Fields not added/edited properly #121

@ethanresnick

Description

@ethanresnick

When a field holds an array of strings, like ApiKeys.roles, the current logic works for listing those strings (I think it just does array.toString(), which gives a comma separated list), but not for adding or editing the field. In both cases, the value is sent to the server as a single string, not an array.

I think we should have a custom field type for this, with behavior like this library. We might be able to extend chosen, which we're already using, to support this, by just adding dynamically (i.e. on keydown) an option to the choice list that's the same as the value that the user's currently typing

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