Skip to content

ChipGroup doesn't support enum values #418

Open
@notramo

Description

@notramo

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

Can't assign enum members to ChipGroup item value.

<script>
  enum MyEnum {
    Member = 1;
    AnotherMember = 2;
}
</script>
<ChipGroup
  items={[
    {
      label: 'this is a label',
      value: MyEnum.Member,
    }
  ]}
/>

In which browser(s) did the problem occur?

Chrome

Steps To Reproduce

.

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Relevant Assets

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponentNew or changes to components

    Type

    No type

    Projects

    Status

    Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions