Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular-xeditable Date is not working with (AngularUI Bootstrap 0.11.0 + Bootstrap 3) #248

Closed
sallampalli opened this issue Feb 19, 2015 · 7 comments

Comments

@sallampalli
Copy link

The Home page mentioned the Angular UI bootsrap version 0.11.0, but the fiddle on the home page uses 0.6.0. The date is not working with the combinationed mentioned in the homepage.

Here is a fiddle of the bug : http://jsfiddle.net/NfPcH/6510/

@sallampalli sallampalli changed the title angular-xeditable is not working with (AngularUI Bootstrap 0.11.0 + Bootstrap 3) angular-xeditable Date is not working with (AngularUI Bootstrap 0.11.0 + Bootstrap 3) Feb 19, 2015
@cpursley
Copy link

cpursley commented Mar 1, 2015

I'm experiencing the same issue.

@phpniki
Copy link

phpniki commented Apr 4, 2015

+1 it open one time

@sebelga
Copy link

sebelga commented Apr 8, 2015

I'm having the same issue. I can't get the datepicker to open. It does work perfectly outside xeditable though...

@phpniki
Copy link

phpniki commented Apr 11, 2015

i solved the problem sample code :

< span editable-bsdate="staff.birth_issue_date" e-name="birth_issue_date"
class="form-control"
e-type="text1"
e-is-open="opened.$data"
e-ng-click="open($event,'$data')"
e-datepicker-popup-persian="{{format}}"
e-datepicker-options="dateOptions"
e-date-disabled="disabled(date, mode)"
e-close-text="بسته"
e-current-text="امروز"
e-clear-text="حذف"
e-name="birth_issue_date"
e-ng-bootstrap-fix="staff.birth_issue_date"
>{{ staff.birth_issue_date | persianDate:'yyyy/MM/dd'}}

                                </span>

angular code:

            $scope.dateOptions = {
                formatYear: 'yyyy',
                startingDay: 6
            };

            $scope.initDate = new Date(); //'2016-15-20'
            $scope.formats = ['dd-MMMM-yyyy', 'yyyy/MM/dd', 'dd.MM.yyyy', 'shortDate', 'yyyy/MM/dd'];
            $scope.format = $scope.formats[4];



            $scope.opened = {};

            $scope.open = function($event, elementOpened) {
                $event.preventDefault();
                $event.stopPropagation();

                $scope.opened[elementOpened] = !$scope.opened[elementOpened];
            };

@vishalbedre
Copy link

vishalbedre commented Apr 25, 2016

It is problem with X-editable js.

changed x-editable.js

to angular-xeditable - 0.1.9

You can find 0.1.9 version in blow link

http://plnkr.co/edit/pBnxWiqrLwOG1UNWyTJM?p=preview****

@ckosloski
Copy link
Contributor

What issue are you trying to show? I am not seeing any errors in the console and I am able to select a different date in the popup.

@ckosloski
Copy link
Contributor

@eugef please close. bs-date is working with the current version of xeditable and uibootstrap

@eugef eugef closed this as completed Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants