alexeypt / ui-grid-edit-datepicker

This directive provides ability to use Bootstrap datepicker for editing dates in UI Grid
MIT License
13 stars 3 forks source link

Not working without jQuery #6

Closed blackat closed 8 years ago

blackat commented 8 years ago

Hi, thanks a lot for the plugin, really cool, but I am not able to exploit it without jQuery. I have followed your advice

If you don't use jQuery, you should comment calling the setCorrectPosition() in directive.

and I have commented out the line 62 on the plunker to test it, but it does not show the date-picker.

Then I have tried in our project and the picker is shown, but

Have I missed something? Thanks lot for your attention :wink:

blackat commented 8 years ago

Edit. I am using the directive with angular-ui-bootstrap 0.14.3 and I have found this plunkr on the page without jquery, but the version is 1.2.4.

Is there any chance to make it work with old versions? Thanks

Joiler commented 8 years ago

@blackat , Yes, you can use it without jQuery. One thing you need to change (along with commenting the call setCorrectPosition() in directive) is to change visibility from hidden to visible in style.css.

Please, see the following plunker link

Thanks!

blackat commented 8 years ago

@Joiler thanks a lot man! 😉