Sama UI Library
    Preparing search index...

    Class SamaDateRangeComponent

    DateRange component to enter multiple dates.

    Hierarchy

    • ControlValueAccessorWrapper<DateRange>
      • SamaDateRangeComponent

    Implements

    • OnInit
    • OnDestroy
    • AfterContentChecked
    • OnChanges
    • AfterViewInit
    Index

    Properties

    changeMode: DateRangeChangeMode = DateRangeChangeMode.OnConfirmation

    Mode to determine when the date range value should be applied

    daysRange: number = null

    Maximum range of days

    endDatePlaceholder: string = 'End date'

    Placeholder for the end date input field

    formControlName: string

    Parent form control name

    label: string

    Label value to be used in the date range.

    maxDate: Date

    The maximum date that can be selected

    minDate: Date

    The minimum date that can be selected

    required: boolean = false

    Flag to know if the whole field is required

    showHint: boolean = true

    Whether or not the hint text for the date should be displayed

    startDatePlaceholder: string = 'Start date'

    Placeholder for the start date input field