Chip checked props is not working #954
Answered
by
converter-user-old
Sakkhor909
asked this question in
Q&A
-
I can't figure out why this is not working
|
Beta Was this translation helpful? Give feedback.
Answered by
converter-user-old
Mar 8, 2022
Replies: 1 comment
-
You should use the <Chips
color="violet"
variant="filled"
spacing="md"
size="md"
radius="sm"
multiple
defaultValue={["Streo Speaker"]}>
<Chip value="Streo Speaker">Streo Speaker</Chip>
<Chip value="3.5 mm Jack">3.5 mm Jack</Chip>
</Chips> The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rtivital
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use the
value
/defaultValue
prop of<Chips />
and not thechecked
prop of<Chip />
The
checked
prop of<Chip />
is used when you use it without<Chips />
see: https://mantine.dev/core/chips/#chip-component