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

[Bug]: <PinInputInput> with asChild not working #1393

Closed
robinsimonklein opened this issue Oct 27, 2024 · 0 comments · Fixed by #1394
Closed

[Bug]: <PinInputInput> with asChild not working #1393

robinsimonklein opened this issue Oct 27, 2024 · 0 comments · Fixed by #1394
Assignees
Labels
bug Something isn't working

Comments

@robinsimonklein
Copy link

Environment

Developement/Production OS: MacOS 15.0.1 (24A348)
Node version: 20.18.0
Package manager: [email protected]
Radix Vue version: 1.9.7
Vue version: 3.5.10
Nuxt version: 3.13.2
Nuxt mode: universal
Nuxt target: server
CSS framework: [email protected]
Client OS: MacOS 15.0.1 (24A348)
Browser: Arc 1.66.0 (55166)

Link to minimal reproduction

https://stackblitz.com/edit/nuxt-starter-bgmjsu?file=app.vue

Steps to reproduce

Create a PinInput and add custom child component to <PinInputInput asChild> using the asChild prop.

Describe the bug

Component <PinInputInput> seems to not being customizable with child component using asChild as the docs says : https://www.radix-vue.com/components/pin-input.html#input. Whatever I pass into the component as child, the DOM rendered keeps being the default <input> element.

Expected behavior

No response

Context & Screenshots (if applicable)

No response

@robinsimonklein robinsimonklein added the bug Something isn't working label Oct 27, 2024
@zernonia zernonia self-assigned this Oct 27, 2024
@zernonia zernonia linked a pull request Oct 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants