Next.js Discord

Discord Forum

Checkbox

Unanswered
Pink salmon posted this in #help-forum
Open in Discord
Pink salmonOP
Ive used all the attr isSelected defaultSelected defaultChecked checked but still the checkbox is not set to checked when the page is reloaded

13 Replies

Pink salmonOP
<Checkbox isSelected checked defaultChecked defaultSelected color="warning" size="lg" />
after reload still the checkbox is not checked
where is that component from?
@averydelusionalperson where is that component from?
Pink salmonOP
where are you importing it from?
Pink salmonOP
oh
like shadcn, mantine, chakra?
Pink salmonOP
nextui
@averydelusionalperson like shadcn, mantine, chakra?
Pink salmonOP
@nextui-org/react
you can use defaultSelected according to the docs
Pink salmonOP
i tried all of them
non of that works