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

Vue Vuetify Forms not rendered after update to 3.4.0, but only in release builds #2378

Open
AtjonTV opened this issue Sep 17, 2024 · 1 comment
Assignees

Comments

@AtjonTV
Copy link

AtjonTV commented Sep 17, 2024

Describe the bug

With JSON Forms 3.3.0 and Forms Vuetify 3.3.0-preview.0, I was able to correctly use JSON Forms.

The recent release of 3.4.0 broke something, and now Controls and HorizontalLayout are no longer rendered.
In the DOM it is only an empty HTML comment.

This only occurs when I run pnpm build && pnpm preview, in dev mode (pnpm dev) it still works correctly.

Expected behavior

All Control and Layout components are rendered correctly.

Steps to reproduce the issue

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

This is how it looks with latest versions:

{
  "dependencies": {
      "@jsonforms/core": "^3.4.0",
      "@jsonforms/vue": "^3.4.0",
      "@jsonforms/vue-vuetify": "^3.4.0",
  }
}

image

Screenshot_20240917_111136

This is how it looks with only vue-vuetify downgraded:

{
  "dependencies": {
      "@jsonforms/core": "^3.4.0",
      "@jsonforms/vue": "^3.4.0",
      "@jsonforms/vue-vuetify": "3.3.0-preview.0",
  }
}

image

Screenshot_20240917_110745

Which Version of JSON Forms are you using?

v3.4.0

Package

Vue Vuetify Renderers

Additional context

Here is the full list of the dependencies:

{
  "dependencies": {
    "@jsonforms/core": "^3.4.0",
    "@jsonforms/vue": "^3.4.0",
    "@jsonforms/vue-vuetify": "^3.4.0",
    "@mdi/font": "^7.4.47",
    "@nuxtjs/i18n": "^8.5.2",
    "@nuxtjs/supabase": "^1.4.0",
    "@pinia/nuxt": "^0.5.4",
    "@sentry/nuxt": "^8.30.0",
    "@vuelidate/core": "^2.0.3",
    "@vuelidate/validators": "^2.0.4",
    "nuxt": "^3.13.2",
    "pinia": "^2.2.2",
    "vue": "latest",
    "vue-router": "latest"
  },
  "devDependencies": {
    "vite-plugin-vuetify": "^2.0.4",
    "vuetify": "^3.7.1"
  }
}
@sdirix
Copy link
Member

sdirix commented Sep 17, 2024

Thanks for the report, we'll take a look.

Note that mixing JSON Forms versions is fine for investigating, however you might run into weird runtime behavior. So for now I recommend you to stay on the same old version which works for you.

@lucas-koehler lucas-koehler self-assigned this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants