Questions tagged [ngx-daterangepicker-material]
31 questions
12
votes
8 answers
ERROR ngx-daterangepicker-material An accessor cannot be declared in an ambient context
Can you help me out with this error? this my package.json error
I keep getting this error:
ERROR in node_modules/ngx-daterangepicker-material/daterangepicker.component.d.ts(59,9): error TS1086: An accessor cannot be declared in an ambient context.
…

WebDev
- 151
- 1
- 1
- 8
6
votes
2 answers
Angular ngx daterangepicker z-index
I'm having multiple forms in an expansion, and I was using this code, for a date picker,
Which works totaly fine, the expansion doesn't…

Antal Mate
- 63
- 1
- 7
2
votes
1 answer
Angular 9 and ngx-admin nb Date picker invalid despite good format
I have an issue with https://akveo.github.io/nebular/docs/components/datepicker/overview#nbdatepickerdirective . I have reactive form :
Component
this.addForm = new FormGroup({
'monthOfChangeStart': new FormControl(),
'monthOfChangeEnd': new…

Viszman
- 1,378
- 1
- 17
- 47
2
votes
3 answers
Set maxDate based on minDate in ngxdaterangepicker angular 8
I am trying to set maxDate value based on minDate value selected. The idea is that you can select any day in the past as minDate, but the maxDate must be equal to minDate plus 15 days.
I have this in my html
```

Rodrigo Bernal
- 43
- 1
- 5
2
votes
0 answers
ngx daterangepicker material doesn't work
I try to use ngx-daterangepicker-material in my angular project. I installed it with npm, add it to app-module, and add it to the input-field, but it doesn't shows up in the browser. What have I done wrong?
html (not the entire file)

Ferenc Bablena
- 445
- 1
- 4
- 12
2
votes
0 answers
How to use form control with inline format?
I am not able to bind the input date range using ngModel or form-control. It gives an error- ERROR TypeError: dir.valueAccessor.writeValue is not a function. choosedDate method is invoked upon chosing or clicking on a…

SanDash
- 733
- 1
- 6
- 15
2
votes
0 answers
ngx-daterangepicker-material to open with previous and current month instead of current and next month
I am using ngx-daterangepicker-material which shows current and next month for latest range.

Shoaib Chikate
- 8,665
- 12
- 47
- 70
2
votes
1 answer
Want to get start and end date as selected by user from calendar from ngxdaterangepicker in angular. Also the dates in between
I want to read the data between the range as selected by user, but I am not able to get start and end date as selected. Although in console I am able to see it in moment, But don't know how can we get those dates and perform queries.
Also get the…

ANUSHKA GARG
- 75
- 8
1
vote
0 answers
Here the ngx-DaterangerPicker-Material is used.The issue is its not triggering the calendar menu while hitting on that icon mentioned below
**Component.html**

Agnum
- 199
- 1
- 1
- 8
1
vote
0 answers
Preselect date is not working in ngx-daterangepicker-material
I am using ngx-daterangepicker-material in Angular as a date range picker. I am getting the start date and end date from the backend side and want to display and apply that dates on daterangepicker.
I have tried as they mentioned in GitHub and…

StephanStack
- 33
- 8
1
vote
1 answer
ngx-daterangepicker-material disable n number of days from start date
I am using ngx-daterangepicker-material for date picker in angular 9 project. I have requirement that, when user selects start date than 60 days from start date to the future and past should be not be selectable
For example, if user select start…

young_minds1
- 1,181
- 3
- 10
- 25
1
vote
0 answers
Highlighting a Specific day in in ngx-daterangepicker-material than current day
I am using ngx-daterangepicker-material for my calendar.

Kavvya Ramarathnam
- 85
- 1
- 11
1
vote
0 answers
Get latest update of ngx-daterangepicker-material when update date from the input field
I am implementing ngxDaterangepicker to make custom range, I am trying to update the dates from the input field but dateUpdate event is not getting the latest update.
This is the update I do in the input field
and here are the logs from dateUpdate…

palAlaa
- 9,500
- 33
- 107
- 166
0
votes
0 answers
how to change background color of quick select range button in ngx-bootstrap bsdatepicker (angular)?
I want to change the background color of quick select ranges buttons in bsdatepicker.
Where should i actually make change to change background color of those buttons highlighted in below image.
Daterangepicker
Daterangepicker
0
votes
0 answers
Angular Material Datepicker: `dateClass` callback - Accessing Component's Properties and `this` Context
I'm using Angular with Angular Material and Datepicker. I want to customize the CSS of specific dates in the Datepicker by applying a custom class. I'm utilizing the dateClass parameter with an @Input() decorator to achieve this.
However, I'm facing…

Neil89
- 101
- 1
- 6