Creates a date field consisting of three dropdown fields (day, month, year) out of a "value" string 'yyy-mm-dd'.

Result will be in "value" again.

Properties

disabled: boolean = false

Is the field disabled.

inputId: string

The id of the actual input field.

label: string

The aria-label of the select fields. If none is provided, it defaults to the ion-label with which this component is bundled under an ion-item. Otherwise it defaults to the textLabel.

labelId: string

If you bundled the component with an ion-label component under an ion-item, you can force the id of the ion-label to be this value. The attribute aria-labelledby will be set accordingly.

maxDate: string

The youngest/maximum date possible to select. In the form of yyyy-mm-dd.

minDate: string = '1900-01-01'

The eldest/lowest date possible to select. In the form of yyyy-mm-dd.

name: string

The name of the input field.

required: boolean = false

IS the field required.

showPartialValue: boolean = false

If set, the value can reflect a partialy selected date like 0000-10-00.

textDay: string = 'Tag'

The text labeling the day field.

textElementEnd: string = 'Datumsfeld ende'

Text announced in a screen reader to indicate the end of the element.

textLabel: string = 'Datumsfeld'

The default text for the aria-label of the select fields.

textMonth: string = 'Monat'

The text labeling the month field.

textNothingSelected: string = 'nichts ausgewählt'

Text announced in a screen reader when no value is selected.

textSelected: string = 'ausgewählt'

Text used in a screen reader to announce selected values.

textYear: string = 'Jahr'

The text labeling the year field.

value: string = ...

The value of the hylo-date component. In the form of yyyy-mm-dd.

Generated using TypeDoc