jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

VNumberInput is core component in vuetify > 3.8.0

Open viktor-c opened this issue 10 months ago • 1 comments

Describe the bug

When trying to use jsonforms-vue-vuetify with the latest vuetify package (3.8.0) I get an error Error: Build failed with 1 error: node_modules/@jsonforms/vue-vuetify/lib/jsonforms-vue-vuetify.esm.js:31:29: ERROR: Could not resolve "vuetify/labs/VNumberInput"

This is due to VNumberInput moving from "lab" to "core".

Expected behavior

Building with vite should give no error

Steps to reproduce the issue

Create a new vue project, add vuetify, jsonforms, jsonforms-vue and jsonform-vue-vuetify. Configure jsonforms to use vue-vuetify renderer Build the project.

Screenshots

No response

Which Version of JSON Forms are you using?

v3.5.1

Package

Vue Vuetify Renderers

Additional context

No response

viktor-c avatar Apr 05 '25 18:04 viktor-c

this helped me out from my vite.config file :

import path from "path";
resolve: {
    alias: {
      "vuetify/labs/VNumberInput": path.resolve(
        __dirname,
        "node_modules/vuetify/lib/components/VNumberInput/index.js",
      ),
    },
  },

AndyLinxies avatar Apr 18 '25 12:04 AndyLinxies

Same issue with VTimePicker in vuetify > 3.9.0 and "@jsonforms/vue-vuetify": "^3.6.0"

atrox1024 avatar Jul 09 '25 12:07 atrox1024

@viktor-c I renamed the issue to better describe what the associated PR will do

lucas-koehler avatar Jul 30 '25 13:07 lucas-koehler

There now is pre-release version 3.7.0-alpha.0 including this update to support Vuetify ^3.9 and Vue ^3.5

lucas-koehler avatar Aug 01 '25 14:08 lucas-koehler