Questions tagged [angular-ui-datepicker]

Use for questions about the datepicker and datepicker popup directives of the Angular UI Bootstrap library.

Resources:

53 questions
0
votes
2 answers

Angular $compile causes Datepicker popup box to misbehave slightly

UPDATE 1: add more details. UPDATE 2: added the plunker code to reproduce the problem. See link below. UPDATE 3: I got reply from angular team on github. Check it here. UPDATE 4: Posted updated on github as requested by AngularJS team. Also, the…
tarekahf
  • 738
  • 1
  • 16
  • 42
0
votes
2 answers

add traduction to ui-datepicker in angular ui-grid

is there a way to translate the button in the angular ui-datepicker in this plunker example. I tried adding close-text="{{\'lblClose\' | translate}}" current-text="{{\'lblToday\' | translate}}" clear-text="{{\'lblClear\' | translate}}" like the…
0
votes
0 answers

How to enable only particular dates in a month and disable all others with angular UIB datepicker

I am using a angular UIB datepicker in my project, I need to enable few dates in a month and then disable all other dates. For example, I need to enable the these dates: 10th jan 2017, 17th jan 2017 and 27th jan 2017. For now I am able to disable…
0
votes
1 answer

ui-datepicker with ui-grid issue

I'm trying to update a editableCellTemplate in a ui-grid to include ui-datepicker so I'll allow user to have the possibility to select date using firefox or IE, but with no success. Here is plunker with what I'm trying to do, using…
0
votes
1 answer

Restricting uib-datepicker to just one year

How do I fix the uib-datepicker to just one year. (say current year only). I tried searching but all that I could find was to restrict calendar to year mode only. I tried setting year:2016 in datepicker-options but it didn't work. Any suggestions…
0
votes
1 answer

angular ui date with latest jquery ui datepicker reopening IE(11)

I am trying to use the latest angular 1.5.8, jQuery 3 and jQuery UI 1.12 versions together with angular ui date 1.0.1. These versions combined work fine in chrome / firefox. But now it seems that in IE11 the datepicker keeps reopening after…
0
votes
1 answer

Angular UI Datepicker. Enable only 5 days from today excluding weekends

I am using Angular UI Bootstrap datepicker directive in my project. I have this specific need like I need to enable only 5 days from current day. In case of weekend, I need to disable them and enable the remaining days. for eg, If current day in…
0
votes
1 answer

Angular-UI datepicker validation error when previously selected date is now disabled

I have an angular-ui datepicker on my site which allows the user to select a delivery date. I'm disabling all dates in the past and all Sundays. This works fine, the user cannot select a disabled date as expected so the control will never be…
0
votes
1 answer

AngularUI Datepicker passing variables to minDate and maxDate

I want to limit the Angular UI Datepicker to be between two dates passed in as variables. Here is a working plunker of this problem: http://plnkr.co/edit/zsjpoVZtHqJLIP2RW6vm?p=preview here are the variables: mycurrentdate = '2016-04-15' mymindate =…
jenryb
  • 2,017
  • 12
  • 35
  • 72
0
votes
2 answers

No dates showing using Angular.ui Datepicker

I'm trying to implement the Datepicker popup. I'm using the example on the getting-started page as seen Here. When I click on the calendar icon the popup shows but there are no dates, Just left and right arrows and I get this error. I haven't…
0
votes
1 answer

Handle date with mask and uib-datepicker

I'm looking for a way to use uib-datepicker and some kind of mask for the user input but the uib-mask is not suitable for work with js Date() types. In the default uib-datepicker samples the users must enter a correct and complete date like…
0
votes
1 answer

How to change date format from mm/dd/yyyy to dd/mm/yyyy?

I am using this library. I am having trouble converting the date format. When I pick a new date it should display date in dd/mm/yyyy
John
  • 478
  • 4
  • 12
  • 25
0
votes
1 answer

can not assign date to ui-date angularjs

I want to assign my string date to ui-date my view and my date string "12/12/2015" but I got this error "Error: ng-Model value…
Sophon Men
  • 179
  • 1
  • 2
  • 10
0
votes
1 answer

Angular UI Datepicker programmatically set to open to a particular month

Is there a way to the calendar open up to a particular month WITHOUT actually setting the value for the datepicker. As an example, I have two datepickers, one is a start date and one is an end date. As seen in the fiddle here:…
snowleopard
  • 781
  • 3
  • 13
  • 36