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

refactor(switch): ts to sfc #504

Merged
merged 9 commits into from
Jan 18, 2024
Merged

Conversation

Cr0zy07
Copy link
Collaborator

@Cr0zy07 Cr0zy07 commented Jan 17, 2024

Description

Linked Issues

#492

Additional context

Copy link
Contributor

github-actions bot commented Jan 17, 2024

Thank you for following the naming conventions! 🙏

@@ -29,6 +29,6 @@ const { componentRef } = useComponentRef<HTMLInputElement | null>()
v-bind="$attrs"
ref="componentRef"
:data-state="getState(inject.checked.value)"
:data-disabled="inject.disabled ? '' : undefined"
:data-disabled="inject.disabled?.value ? '' : undefined"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Could you please validate this, and why it always appears without using .value inside the <template>

Copy link
Contributor

Choose a reason for hiding this comment

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

inject with .value used. I think the data stays connected up there, otherwise it won't work.

Copy link
Contributor

@productdevbook productdevbook left a comment

Choose a reason for hiding this comment

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

LGTM ! ❤️

@productdevbook productdevbook merged commit 818fbf7 into oku-ui:main Jan 18, 2024
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Jan 18, 2024
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