-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Datepicker popup doesn't respect "showWeeks: false" with AngularJS git master #1132
Comments
@gaydenko Could you please provide a plunker with a reproduce scenario? It works for me with the latest master: |
Yes, but in report I'm saying about angularjs master also. |
@gaydenko updated the plunker to the latest AngularJS master as well: seems to be working OK as well: |
I set |
OK, thnx @gaydenko I can see now. Thnx for bearing with me.... |
This is happening because of the way the attributes are being handled in the popup directive. |
Current git master does work with
attribute, but it isn't too handy to flood markup with attributes which can be set once, I guess.. |
@gaydenko oh yes, very true... anyway the PR keeps fixing your issue. I added some tests to check it. Try it out if you want and let me know if there's something missing. |
sorry @gaydenko but I don't get exactly what you mean, would you mind to create a plunkr? Thanks in advance! |
I don't know how to ref to branch with pr. Just place dp inside collapse directive: https://github.com/angular-ui/bootstrap/tree/master/src/collapse |
You can just fork my repo https://github.com/ivogallego/bootstrap Anyway I'll give it a look and see what happens... |
I've tried with 0.6 and latest master version and the result is the same so it looks that's a different issue: http://plnkr.co/edit/5O4OCZ?p=preview Maybe it's better if you open a new issue for that topic |
I test against git master.
|
@gaydenko plunker against master branch: http://plnkr.co/edit/CNTmrl?p=preview It's true what you say, but it's not related to the show-weeks param, so I think you should open a new issue for this. |
@gaydenko Use the new |
@ivogallego Heh.. I also use last rc for angularjs itself :) @bekos I have already set this flag to true in datepickerPopupConfig constant. |
$scope.dateOptions = { }; |
With this flag set to false calendar grid still renders weeks column both in Chrome and Firefox (can not say about IE9 as far as #1130 )
The text was updated successfully, but these errors were encountered: