Skip to content

[data-list] don't show key input field when value is an array #6

@kvnneff

Description

@kvnneff

If a list field is initialized with an array, such as ['foo', 'bar', 'baz'] then the key becomes the index of the item in the array:

0: foo
1: bar
2: baz

Currently the list field will display a key input, but the value ends up being ignored when the form is submitted. It would be better to not allow input for the keys in this situation.

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