#329092 Make datetime picker modal scrollable.
This commit is contained in:
Родитель
670713d948
Коммит
b3ee208111
|
@ -1,6 +1,5 @@
|
|||
.cntnr {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 20;
|
||||
vertical-align: center;
|
||||
background-color: #fff;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
<StackLayout class="cntnr">
|
||||
<!-- TODO: use app-modal -->
|
||||
<StackLayout>
|
||||
<DatePicker #datePicker [(ngModel)]="date" (loaded)="configureDatePicker(datePicker)"></DatePicker>
|
||||
<TimePicker #timePicker></TimePicker>
|
||||
</StackLayout>
|
||||
<ScrollView>
|
||||
<StackLayout class="cntnr">
|
||||
<!-- TODO: use app-modal -->
|
||||
<StackLayout>
|
||||
<DatePicker #datePicker [(ngModel)]="date" (loaded)="configureDatePicker(datePicker)"></DatePicker>
|
||||
<TimePicker #timePicker></TimePicker>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout class="btn-wrp">
|
||||
<Label (tap)="onSelect(datePicker, timePicker)" class="btn btn-primary" text="Add Option"></Label>
|
||||
<StackLayout class="btn-wrp">
|
||||
<Label (tap)="onSelect(datePicker, timePicker)" class="btn btn-primary" text="Add Option"></Label>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
|
|
Загрузка…
Ссылка в новой задаче