vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 401 forks source link

Syntax error using Datepicker with UI Bootstrap 0.13.0 #313

Open deepfriedbrain opened 9 years ago

deepfriedbrain commented 9 years ago

I'm using UI Bootstrap 0.13.0 and I get this error when I try the datepicker sample of xeditable:

Syntax Error: Token 'May' is an unexpected token at column 5 of the expression [Sat May 30 2015 21:29:52 GMT+0800 (Malay Peninsula Standard Time)] starting at [May 30 2015 21:29:52 GMT+0800 (Malay Peninsula Standard Time)].

The date picket popup doesn't appear as well.

bodhisatwag commented 9 years ago

its a duplicate of https://github.com/vitalets/angular-xeditable/issues/326. Try e-init-date="false"

ncubo commented 9 years ago

I tried that and now I don't have the error, but the datepicker popup doesn't appear :/

chrisruddick commented 8 years ago

Using the suggestion above, I got it to work with this:

<a href="#" editable-bsdate="dueDate" e-datepicker-popup="MM/dd/yyyy" e-is-open="data.isOpen" e-ng-click="data.isOpen = true" e-init-date="false">
ckosloski commented 8 years ago

Is this still an issue with the latest release?

gauravbansal74 commented 8 years ago

Same issue. Please help. when i am assigning minDate then its giving this error.

ckosloski commented 8 years ago

Can you post your code or a jsfiddle/plunker showing your issue?

itailulu commented 8 years ago

That's a bug with 0.13.0 Update to the latest version and you'll be fine

scripterkaran commented 8 years ago

I think this error is back, I am using 1.0.3 and I cannot pass minDate to datePicker popup.

ckosloski commented 8 years ago

Please post your code.

ckosloski commented 7 years ago

@scripterkaran are you still having an issue?