angular-xeditable icon indicating copy to clipboard operation
angular-xeditable copied to clipboard

Syntax error using Datepicker with UI Bootstrap 0.13.0

Open deepfriedbrain opened this issue 9 years ago • 10 comments

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.

deepfriedbrain avatar May 30 '15 14:05 deepfriedbrain

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

bodhisatwag avatar Jun 29 '15 13:06 bodhisatwag

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

ncubo avatar Oct 21 '15 15:10 ncubo

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">

chrisruddick avatar Dec 03 '15 18:12 chrisruddick

Is this still an issue with the latest release?

ckosloski avatar May 06 '16 16:05 ckosloski

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

gauravbansal74 avatar Jun 01 '16 14:06 gauravbansal74

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

ckosloski avatar Jun 01 '16 15:06 ckosloski

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

itailulu avatar Aug 10 '16 11:08 itailulu

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

scripterkaran avatar Oct 19 '16 09:10 scripterkaran

Please post your code.

ckosloski avatar Oct 19 '16 12:10 ckosloski

@scripterkaran are you still having an issue?

ckosloski avatar Aug 25 '17 21:08 ckosloski