alongubkin / alongubkin/angular-datepicker

Using datepicker within a popup

未关闭
#34 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
290
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

So, here is an odd issue, I am using the datepicker within a template driven pop-up:
Controller calling the popup:

``` javascript
templateUrl: 'templates/plantlog.html',
title: vName,
scope: $scope,
buttons: [
{
text: 'cancel'},
{
text: 'Plant',
type: '',
.............
```

plantlog.html template for popup:

``` javascript

Plant Date


```

options controller for the datepicker:

``` javascript
$rootScope.options = {
format: 'yyyy-mm-dd', // ISO formatted date
onClose: function(e) {
alert('Worked!')
}
}
```

Everything works as expected, popup pops up, but then when you click on the input field for the datepicker, the datepicker slides in but then you are unable to change the date to anything and the buttons down work. Also, if you touch any dates below the middle it the keyboard pops up and lets you type. Is there some sort of a conflict between them?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。