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

Array of String Fields not added/edited properly #121

Open
ethanresnick opened this issue Jul 14, 2015 · 0 comments
Open

Array of String Fields not added/edited properly #121

ethanresnick opened this issue Jul 14, 2015 · 0 comments

Comments

@ethanresnick
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant