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

u-button-group throws an error "Cannot read properties of null (reading 'class')" #360

Closed
acidjazz opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@acidjazz
Copy link
Contributor

Version

@nuxthq/ui: latest
nuxt: latest

Reproduction Link

https://stackblitz.com/edit/nuxtlabs-ui-xsfja8?file=app.vue

Steps to reproduce

      <u-button-group>
        <u-button>CVE</u-button>
        <u-button>CPE</u-button>
        <u-button>PURL</u-button>
      </u-button-group>

What is Expected?

A normal button group

What is actually happening?

JS error

BTW this doesnt happen if I use Label:

          <u-button-group>
            <u-button label="CVE" />
            <u-button label="CPE" />
            <u-button label="PURL" />
          </u-button-group>
@acidjazz acidjazz added the bug Something isn't working label Jun 28, 2023
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

No branches or pull requests

1 participant