Skip to content

Multiple Checkboxes field targeting single Schema Array #678

Closed
@kyse

Description

@kyse

I am noticing some undesired behavior when targeting a single array on my schema when using multiple fields of type checkboxes targeting that same array.

Plunker example: https://plnkr.co/u22GAXC6Fpwh1xOmm27Q

  • In the plunker, select a type from both dropdowns to expose the two checkboxes fields.
  • check one of the checkboxes on the top field, notice the model includes the object in the array properly.
  • check one of the checkboxes on the second checkbox field shown. The model will empty the array.
  • check one of the checkboxes on the second checkbox field again, and the array will get populated with the proper object, of course the original checkbox from the first checkboxes field will be missing and unchecked.

Would be nice to not have the array get cleared. Is there an option to make that happen by chance?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions