Questions tagged [ng2-datepicker]

ng2-datepicker is a datepicker component for Angular2.

30 questions
0
votes
1 answer

How do I set a select only year option in ng2-datepicker?

I would like to pick only years option in the ng2-datepicker. How do i achieve this? I could not find an option to disable the dates selection in the module
vivek raju
  • 165
  • 8
0
votes
0 answers

set default start date in calender mydatepicker angular 2

I am using mydatepicker package of angular 2. I have to disable dates before 01-01-1995 & disable dates after 31-12-2005 means date range should between 01-01-1995 to 31-12-2005. I used disableSince & disableUntil property of the datepicker. Dates…
0
votes
1 answer

ng2-datepicker additional attributes usage

Can anyone help me in using additional attributes of ng2-datepicker? I have tried: I want to use the calendar of date picker in two ways in two different…
0
votes
0 answers

ng2-datepicker not opening with the values

I'm trying to use ng2-datepicker. But it is opening like It should open with the current date. Below is my HTML & TS code
options:…
Krishna
  • 1,089
  • 5
  • 24
  • 38
0
votes
2 answers

Angular 5 ng2-datepicker Date Picker Days are missing

Suggest me a Date Picker compared to Angular 5 DatePicker coming but not showing dates for the first time onloading. only showing weeks. when I click next month arrow then it's showing properly app.module.ts import { NgDatepickerModule } from…
Mohammad Fareed
  • 1,927
  • 6
  • 26
  • 59
0
votes
0 answers

ng2-datepicker 2.1.6 not working with angular 2.4.0

I was using ng2-datepicker: "ng2-datepicker": "^1.8.3", That is compatible with my angular project but that plugin does not have minYear and maxYear options, that's why I need to update datePicker plugin to "ng2-datepicker": "^2.1.6", but it is…
Shah NIral
  • 420
  • 5
  • 15
0
votes
0 answers

Angular 4 - NG2-Datepicker - Can't capture date value after selection

I found a couple of articles in SO about this plugin with NG4, but it seems to work at some part for me, I just can't get the value from the selection. I followed the installation instructions, and I'm able to pull up the date picker just fine, but…
Groovdafied
  • 45
  • 1
  • 1
  • 8
0
votes
2 answers

Angular 2 Pass values on nested components

So on a simple two components passing data, this should be easy. But on my case I am using a thirdy-party datepicker plugin, then since I have so many date fields on different forms of my app I decided to create a component of my datepicker so that…
Jed
  • 1,054
  • 1
  • 15
  • 34
0
votes
1 answer

Setup ngmodel value of ng2-datepicker and also make it by not editable by keyboard

I am using ng2-datepicker in project. This is the code which I am using.
Libin C Jacob
  • 1,108
  • 12
  • 34
0
votes
0 answers

Angular2 DateTimePicker, configure systemjs.config.js file

I'm trying to use an Angular2 component for show a dateTimePicker, the ng2-datetime-picker (https://github.com/ng2-ui/ng2-datetime-picker) into my Angular2 app. Tutorial says add map and packages to your systemjs.config.js …
giozh
  • 9,868
  • 30
  • 102
  • 183
0
votes
0 answers

ng2-datepicker all-label customization

I'm using ng2-datepicker. I found out how to customize the language for the date-related content, but not for the "Select Year", "Today" and "Apply" buttons. I ended up changing the package's files, but this is more than ugly. Does somebody know a…
seawave_23
  • 1,169
  • 2
  • 12
  • 23
0
votes
1 answer

ng2-bootstrap datepicker error

I am implementing ng2-bootstrap datePicker in my angular 2 app but faced some type of modules error and I do not understand what is the problem behind.Please help me. module.ts import { DatepickerModule } from…
Yashavanta SB
  • 79
  • 3
  • 11
0
votes
1 answer

ng2-datepicker - DatePicker import not found

I'm trying to use the ng2-datepicker but after I installed it from npm I can't import the module. app.module.ts: import { DatePicker } from 'ng2-datepicker/ng2-datepicker'; import { AppComponent } from './app.component'; @NgModule({ …
Tomer Kohn
  • 243
  • 1
  • 8
0
votes
2 answers

Ng2-datepicker 404 Not Found latest RC

app.module.ts import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import {FormsModule} from '@angular/forms'; import {HttpModule} from '@angular/http'; import {routing} from…
Thu Rein
  • 117
  • 1
  • 1
  • 12
0
votes
2 answers

ng2-datepicker isn't working

I am trying to use ng2-datepicker in my Angular 2 app. I followed the instructions given in the above page but the date-picker is not showing up. The console logs following error. url_resolver.js:248 Uncaught TypeError: uri.match is not a…
Rose18
  • 2,892
  • 8
  • 47
  • 98
1
2