Skip to content

Cannote reproduce VRangeSlider example from vuetify #558

Answered by beroda
beroda asked this question in General
Discussion options

You must be logged in to vote

Concerning the VNumberInput component, I struggled a bit to use it because I did not realize it was in the Labs section of the Vuetify components.

For future people landing here, I had to add the following lines in the python imports to make it work:

from trame.widgets import vuetify3 as vuetify

vuetify.enable_lab()

Maybe a message/warning/error should be issued when trying to use labs components in trame without having enabled them previously ?

In any case, here is the updated example that works for anyone interested:

from __future__ import annotations

from trame.app import get_server
from trame.ui.html import DivLayout
from trame.ui.vuetify3 import VAppLayout
from trame.widgets import h…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@beroda
Comment options

@jourdain
Comment options

@jourdain
Comment options

@beroda
Comment options

@jourdain
Comment options

Comment options

You must be logged in to vote
2 replies
@jourdain
Comment options

@beroda
Comment options

Answer selected by beroda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants