date-input
Overview
date-input
allows users to select a date
from a calendar.
Version compatibility
date-input
was introduced in version 4.72.1 of the JourneyApps Runtime.
Basic Example
main.view.xml
Standard Attributes
bind
pagebindbind
label
pagelabellabel
required
pagerequiredrequired
Advanced Attributes
align-content
pagealign-contentalign-content
align-label
pagealign-labelalign-label
clear-button-visibility
pageclear-button-visibilityclear-button-visibility
disabled
pagedisableddisabled
error-message
pageerror-messageerror-message
id
pageidid
icon-position
icon-position
Version compatibility
icon-position
was introduced in version 4.86.1 of the JourneyApps Runtime.
label-case
label-case
Version compatibility
label-case
was introduced in version 4.80.0 of the JourneyApps Runtime.
label-color
pagelabel-colorlabel-color
modifier-text
pagemodifier-textmodifier-text
on-change
pageon-changeon-change
placeholder
pageplaceholderplaceholder
show-if
and hide-if
pageshow-ifpagehide-ifshow-if
and hide-if
Component Methods
The following component methods are available when an id
is assigned to the component and component.dateInput({id:'my-id'})
is called from JS/TS:
clear
clear
Programmatically clear the selected date bound to the date-input
component.
pickDate
pickDate
Programmatically open the date picker to allow the user to select or update a date value.
scrollIntoView
scrollIntoView
Programmatically scroll until the date-input
is visible in the view.
Last updated