Angular -xeditable Editable (Bs3) with date and ng-repeat

I am trying to extend a concrete example of Angular -xeditable Editable row (Bs3) by adding a date of birth field

I created jsfiddle to describe the problem

http://jsfiddle.net/ffgj62q0/ (right link)

<div ng-app="app" ng-controller="Ctrl">
<table class="table table-bordered table-hover table-condensed">
    <tr style="font-weight: bold">
        <td style="width:35%">Name</td>
        <td style="width:20%">Date of b</td>
        <td style="width:10%">Status</td>
        <td style="width:10%">Group</td>
        <td style="width:25%">Edit</td>
    </tr>
    <tr ng-repeat="user in users">
        <td>
            <!-- editable username (text with validation) --> <span editable-text="user.name" e-name="name" e-form="rowform" onbeforesave="checkName($data, user.id)" e-required>
      {{ user.name || 'empty' }}
    </span>

        </td>
        <td> <a href="#" editable-bsdate="user.dob" e-name="dob" e-datepicker-popup>
        {{ (user.dob | date:"dd/MM/yyyy") || 'empty' }}
      </a>

        </td>

Popup does not appear.: - (

I found this example that works with a single date field.

http://plnkr.co/edit/Y4ilZ4rITYnjAyq2xAUa?p=preview

Any hint of a solution to this particular problem?

Relationship with.

+4
source share
2 answers

( , , angularjs 1.4.8 javascript- jsfiddle - " " angular.min.js jsFiddle).

, angular - (http://jsfiddle.net/cewm89y3/5/)

  • ui-bootstrap jsfiddle, .
  • e-is-open e-ng-click , angular -xeditable,

... datepicker.

+1

X- js.

x-editable.js

angular -xeditable - 0.1.9

0

All Articles