Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Inline Date picker default range selection input #154

Open
tshakeel18 opened this issue Jul 19, 2020 · 1 comment
Open

Inline Date picker default range selection input #154

tshakeel18 opened this issue Jul 19, 2020 · 1 comment

Comments

@tshakeel18
Copy link

tshakeel18 commented Jul 19, 2020

I am using inline date picker following ur demo page, i want to set the default range selection on load of component but unable to find the input for range selection in it, i can set single date but not a range, i know if we have input associated then by using ngModel or formControll i can set range but I don't have input associated to it.

<div class="inlineCalenderContainer"> 
    <sat-calender [rangeMode]="true" (dateRangesChange)="inlineRangeChange($event)" [selected]="selectedDate"> 
    </sat-calender>
</div>
@TatianaBir
Copy link

TatianaBir commented Oct 30, 2020

Use beginDate & endDate properties

<sat-calendar [rangeMode]="true" [beginDate]="selectedDate.begin" [endDate]="selectedDate.end"></sat-calendar>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants