Skip to content

Add delete button for fields added via Add more button #20

@e0ipso

Description

@e0ipso

Deleting fields by detecting that the value is empty is very problematic.

Imagine a form filled as: ['one', 'two', 'three', 'four']

Now imagine two different users. User A wants to delete the entry 'two' (so it reads ['one', 'three', 'four']). User B wants to leave an empty slot (so it reads ['one', '', 'three', 'four']).

If we use an empty string as a cue to delete an entry we favor user A. If we keep the empty elements, we don't have a way to delete elements... unless we add a separate way to delete elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions