Troubleshooting VDateInput component #846
-
|
Hello, This Trame code for a date input range selector (including variations of from trame.app import get_server
from trame.ui.vuetify3 import SinglePageLayout
from trame.widgets import vuetify3 as vuetify
server = get_server(client_type = "vue3")
with SinglePageLayout(server) as layout:
with layout.toolbar:
vuetify.VSpacer()
vuetify.VDateInput(
v_model=("date_range", [None, None]),
label="Select range",
multiple="range",
dense=True,
hide_details=True,
style="max-width: 368px;",
)
if __name__ == "__main__":
server.start()does not seem to render the
On the other hand, this Trame code for a single date selector from trame.app import get_server
from trame.ui.vuetify3 import SinglePageLayout
from trame.widgets import vuetify3 as vuetify
server = get_server(client_type = "vue3")
with SinglePageLayout(server) as layout:
with layout.toolbar:
vuetify.VSpacer()
vuetify.VTextField(
v_model=("date", None),
label="Select date",
type="date",
dense=True,
hide_details=True,
style="max-width: 368px;",
)
if __name__ == "__main__":
server.start()does render the
I would like to use the
Could you help me understand why the first code above, with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Looks like the |
Beta Was this translation helpful? Give feedback.



Looks like the
VDateInputwidget is part of the Vuetify Lab experimental components.You can activate these components in trame by calling the
enable_lab()function in thetrame-vuetifypackage