Date picker#
Overview#
DatePicker
is a field widget to enter dates in the “YYY-MM-DD” format. it inherits from the SepalWidget
class.
Any argument from the original Layout
ipyvuetify class can be used to complement it.
from sepal_ui import sepalwidgets as sw
# correct colors for the documentation
# set to dark in SEPAL by default
import ipyvuetify as v
v.theme.dark = False
date = sw.DatePicker()
date
Tip
You need to click outside of the slot to validate your selection
the value can be retrieve from the v_model
trait.
Note
More information can be found here.