i try extend specific example of angular-xeditable editable row (bs3) adding field "date of birth"
i've created jsfiddle describe 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 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> the popup doesn't appear. :-(
i found example works 1 date field.
http://plnkr.co/edit/y4ilz4ritynjayq2xaua?p=preview
any hint solve specific problem, please?
regards c.
i forked fiddle (also updated resources, example set angularjs 1.4.8 on javascript settings of jsfiddle - "frameworks , extensions", , removed angular.min.js jsfiddle's external resources).
and added missing stuff, explained on angular-xeditable site (http://jsfiddle.net/cewm89y3/5/)
- i added missing dependency of
ui-bootstrap, both jsfiddle's resources , module. - also added
e-is-open,e-ng-clickattributes in example angular-xeditable,
... , in fiddle datepicker opens.
Comments
Post a Comment