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

Doesn't work with Ionic #20

Open
michalmikolajczyk opened this issue Sep 8, 2014 · 16 comments
Open

Doesn't work with Ionic #20

michalmikolajczyk opened this issue Sep 8, 2014 · 16 comments

Comments

@michalmikolajczyk
Copy link

I tried using the plugin with Ionic, it doesn't work.

When I add an input to a modal, it doesn't open at all. When I add it to a normal view, the plugin opens, but nothing happens when I click on a date.

I read this: #1

and I built the project with grunt picker, as the build didn't include the changes. Still doesn't work.
I then included the src files instead of the build file, but that didn't help either.

I only use

<input type="text" pick-a-date="date" placeholder="Select Date" /> {{ date }}
@tplaindoux
Copy link

see : #17

@deliriousrhino
Copy link

I am having the same issue. I have include the css as per #17.
But when I click the date the date picker opens but does not react when anything is clicked. No errors are thrown

@bleuscyther
Copy link

verify that all inputs are "closed" :
"/>" instead of just ">"

@bleuscyther
Copy link

I tworks on ripple (ripple emulate) but not in Ionic serve.

Also i seem to work on the app but the select dropdown is not.

I can tell that it was not working at all 2 weeks ago but now if you are not using the select dropdown it works.

Since i am using it to enter birthdays its painful. Anyways so far this is the best attempt using pickadate.js.

Good job! I hope it gets fixed and id part of IonicsFramework

@nokturnal
Copy link

I have noticed a similar issue. On the desktop (used for quick debugging) click's do not seem to work when using inside an Ionic app, but when deployed to a device, everything works as expected.

@nokturnal
Copy link

... in addition on the desktop (inside an Ionic app) and on a deployed app (Android) an error is being tossed: TypeError: c.substr is not a function on line 12

@nokturnal
Copy link

... after using the source, the error is on line 602 of picker.date.js. TypeError: value.substr is not a function

@Petercopter
Copy link

Same problem here, Ionic + angular-datepicker. Just to be clear, it's the same issue on pickadate AND angular-datepicker, so it's not specific to this port. Guess I should check the pickadate issues and see if anything has been filed.

@chrisrodz
Copy link

Any updates on this?

@everflux
Copy link

I can confirm that the modal opens in ionic serve, but it is not possible to close it.

@NunoBentes
Copy link

I guys... I´m experiencing exactly this issue! The Datepicker it´s not working ONLY on the Ionic Modal!!! :(
Any ideas?

@railsjack
Copy link

still not fixed?

@tamvm
Copy link

tamvm commented Jan 20, 2015

I faced same problem, the small date picker popover is opened but I can't select to pick the date.

@MaZZly
Copy link

MaZZly commented Jan 26, 2015

Same here..

Probably some problem with the z-index or positioning of the modal..

@cristianhoyos66-zz
Copy link

I was doing with this plugin but I had the same problem so I used this: https://github.com/amsul/pickadate.js and solved all problems

@wagnerlanger
Copy link

wagnerlanger commented Jan 18, 2017

I fixed with data-tap-disabled="true"
like this:

<ion-list data-tap-disabled="true">
            <input type="text" pick-a-date="date" placeholder="Select Date"   />
            <input type="text" pick-a-time="time" placeholder="Select Time" />
</ion-list>

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