ngx-bootstraap date range picker is not working with cordova framework generated code for android
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
While the angular project which has date range picker and dynamically populates a chart from the mock data is working, while i do the build of it for cordova platform, there is problem.
The date range picker is shown as text box but when i click it the date range picker is not being popped up.
I have done the npm install of the dependency so if anyone can help with the problem it will be great.
angular cordova hybrid-mobile-app ngx-bootstrap
add a comment |
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
While the angular project which has date range picker and dynamically populates a chart from the mock data is working, while i do the build of it for cordova platform, there is problem.
The date range picker is shown as text box but when i click it the date range picker is not being popped up.
I have done the npm install of the dependency so if anyone can help with the problem it will be great.
angular cordova hybrid-mobile-app ngx-bootstrap
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08
add a comment |
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
While the angular project which has date range picker and dynamically populates a chart from the mock data is working, while i do the build of it for cordova platform, there is problem.
The date range picker is shown as text box but when i click it the date range picker is not being popped up.
I have done the npm install of the dependency so if anyone can help with the problem it will be great.
angular cordova hybrid-mobile-app ngx-bootstrap
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
While the angular project which has date range picker and dynamically populates a chart from the mock data is working, while i do the build of it for cordova platform, there is problem.
The date range picker is shown as text box but when i click it the date range picker is not being popped up.
I have done the npm install of the dependency so if anyone can help with the problem it will be great.
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
import { Component, OnInit } from '@angular/core';
import { HttpClient, HttpHeaders, HttpRequest } from '@angular/common/http';
import { Passenger } from '../passenger';
import { PASSENGERS } from '../mock-passengers';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
bsValue = new Date();
bsRangeValue: Date;
maxDate = new Date();
startDate = '';
finishDate = '';
travelDate = '';
checkstatus = '';
doughnutChartLabels = ;
doughnutChartData = ;
doughnutChartType = 'doughnut';
public passengers = PASSENGERS;
public count = 1;
public c = ;
constructor(
private http: HttpClient) {
this.maxDate.setDate(this.maxDate.getDate() + 7);
this.bsValue.setDate(this.bsValue.getDate() - 70);
this.bsRangeValue = [this.bsValue, this.maxDate];
}
ngOnInit() {
}
onClickGC() {
this.doughnutChartLabels = ;
this.doughnutChartData = ;
this.startDate = this.bsRangeValue[0].toString().slice(4, 15);
this.finishDate = this.bsRangeValue[1].toString().slice(4, 15);
var months = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
];
this.startDate = this.startDate.replace(this.startDate.slice(0, 3).toString(),
(months.indexOf(this.startDate.slice(0, 3)) + 1).toString());
this.finishDate = this.finishDate.replace(this.finishDate.slice(0, 3).toString(),
(months.indexOf(this.finishDate.slice(0, 3)) + 1).toString());
this.startDate = this.startDate.split(' ').join('/');
this.finishDate = this.finishDate.split(' ').join('/');
var from = new Date(this.startDate);
var to = new Date(this.finishDate);
for (var i = 0; i < this.passengers.length; i++) {
this.c = this.passengers[i].travelDate.split("/");
var check = new Date(parseInt(this.c[2]), parseInt(this.c[1]) - 1, parseInt(this.c[0]));
//check.parseInt
this.checkstatus = check.toString();
if (check.valueOf() >= from.valueOf() && check.valueOf() <= to.valueOf()) {
var checkdate = this.doughnutChartLabels.indexOf(this.passengers[i].travelDate);
if (checkdate > -1) {
this.doughnutChartData[checkdate] = this.doughnutChartData[checkdate] + 1;
} else {
this.doughnutChartLabels.push(this.passengers[i].travelDate);
this.doughnutChartData.push(this.count);
}
}
}
this.travelDate = this.doughnutChartData.toString() + this.doughnutChartLabels.toString();
}
}
<h2>Passengers List</h2>
<div>
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input type="text" placeholder="Daterangepicker" class="form-control" bsDaterangepicker [(ngModel)]="bsRangeValue">
</div>
<div>
<button type="button" class="btn btn-primary" (click)="onClickGC()">
Display Doughnut Chart
</button></div>
checkingDate: {{checkstatus}}
startDate: {{startDate}}
finishing date: {{finishDate}}
{{travelDate}}
</div>
<div>
<div style="display: block" *ngIf="doughnutChartLabels.length > 0 && doughnutChartData.length >0">
<canvas baseChart [data]="doughnutChartData" [labels]="doughnutChartLabels" [chartType]="doughnutChartType">
</canvas>
</div>
</div>
</div>
angular cordova hybrid-mobile-app ngx-bootstrap
angular cordova hybrid-mobile-app ngx-bootstrap
edited Nov 24 '18 at 11:43
Rahul Singh
asked Nov 20 '18 at 8:39
Rahul SinghRahul Singh
12
12
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08
add a comment |
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53389088%2fngx-bootstraap-date-range-picker-is-not-working-with-cordova-framework-generated%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53389088%2fngx-bootstraap-date-range-picker-is-not-working-with-cordova-framework-generated%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please share with us what code you have tried so far
– kboul
Nov 20 '18 at 8:52
hello, i have added the relevant code if you can have a look and see where i am going wrong, i will be glad
– Rahul Singh
Nov 26 '18 at 14:08