Open notramo opened 1 year ago
@svelteuidev/core
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, } ]} />
Chrome
.
No
No response
It looks like svelte might support type any for input values. It is currently restricted to strings in the codebase.
any
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.
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