Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): checkbox indeterminate example #601

Merged
merged 7 commits into from
Jan 13, 2024
Merged

fix(docs): checkbox indeterminate example #601

merged 7 commits into from
Jan 13, 2024

Conversation

Scrum
Copy link
Contributor

@Scrum Scrum commented Jan 11, 2024

Incorrect example

<StyledCheckbox v-model:checked="checked">
    <Icon icon="radix-icons:checkbox-indicator">
      <Icon v-if="checked === 'indeterminate'" icon="radix-icons:divider-horizontal" />
      <Icon v-if="checked" icon="radix-icons:check" />
    </Icon>
  </StyledCheckbox>

change to

<CheckboxRoot v-model:checked="checked">
    <CheckboxIndicator>
      <Icon v-if="checked === 'indeterminate'" icon="radix-icons:divider-horizontal" />
      <Icon v-if="checked" icon="radix-icons:check" />
    </CheckboxIndicator>
  </CheckboxRoot>

@Scrum
Copy link
Contributor Author

Scrum commented Jan 11, 2024

Input required and not supplied: apiToken I don't know what happened)

Copy link
Member

@zernonia zernonia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Scrum !

@zernonia zernonia merged commit 0fe7be9 into unovue:main Jan 13, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants