Skip to content

DraggableList assumed all list options are selected if the array is empty #936

Description

@Tellinq

Original reporter & ticket id

No response

Category

Interface

Bug description

DraggableList UI assumes all toggles are enabled if the array is empty. This can happen if the default array is empty, or all toggles get unselected

An example from my Potion Effects testing for sort stacking
Image

Image

Steps to reproduce

  1. Add a DraggableList option
  2. Make the default empty, or deselect all toggles in that list option
  3. If you are unselecting all toggles, exist the UI, and then re-enter

The UI should show that all toggles are selected, but in actuality, none are.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions