Documentation

config-options

Configs

Configuration Options

NameTypeDefaultDescription
formatstringYYYY-MM-DDDate format to be used in the input
closeOnDateSelectbooleantrueClose the datepicker on date select
disableAfterTodaybooleanfalseDisable dates after today
disableBeforeTodaybooleanfalseDisable dates before today
disableTodaybooleanfalseDisable today
markHolidaysbooleantrueMark holidays
holidaysarray['Saturday']Holidays to be marked
indicateCurrentDatebooleantrueIndicate current date
setCurrentDatebooleanfalseSet current date
positionstringleftPosition of the datepicker Available options: left, right, center
daysFormatstringddFormat of the days Available options: ddd, dd, d
localestringnpLocale of the datepicker Available options: np, en
themestringflatTheme of the datepicker Available options: bordered, soft, flat
darkModebooleanfalseDark mode