Closed msenthu closed 8 years ago
The ui-bootstrap tags need to be updated to use "uib". See pull request #406
Thanks for the solution that worked, but still I am getting lot of console errors like below
TypeError: ngModelCtrl.$setValidity is not a function
Error: [$compile:ctreq] Controller 'ngModel', required by directive 'uibDatepicker', can't be found!
But I do have ng-Model/ e-ng-model that didnt help resolve the error. Also it is not using the format I specified. Any idea?
e-uib-datepicker-popup="yyyy-MMM-dd"
Your definition should be:
data-e-datepicker-popup="yyyy-MMM-dd"
Thanks for the quick reply, Here is my code i tried different options but both didn't work
<a href="#" ng-model="lastReviewed" editable-bsdate="lastReviewed" data-e-datepicker-popup="yyyy-MMM-dd"
e-ng-click="opened = true" e-is-open="opened" >
{{ (lastReviewed | date: "yyyy-MMM-dd") || 'Not reviewed' }}
</a>
Above code I am not getting the datapicker popup
and
<a href="#" ng-model="lastReviewed" editable-bsdate="lastReviewed" data-e-uib-datepicker-popup="yyyy-MMM-dd" data-e-datepicker-popup="yyyy-MMM-dd"
e-ng-click="opened = true" e-is-open="opened" >
{{ (lastReviewed | date: "yyyy-MMM-dd") || 'Not reviewed' }}
</a>
in the above code I get the datepicker popup but format is different (screen shot below). I would like the date appear as yyyy-MMM-dd format
You need to remove:
data-e-uib-datepicker-popup="yyyy-MMM-dd"
You should only have:
data-e-datepicker-popup="yyyy-MMM-dd"
If i downgrade my angularjs-xeditable to 0.1.8 then it works as expected. It is not working on 0.1.9 and 0.1.10.
Thanks
Fixed by #443
All,
I am using angular 1.4.8, ui-boostrap 1.1.2 and xeditable 0.1.9, The Datepicker is not popup. Can you help me resolve this issue?
Thanks, Senthil