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

DateTime Picker in ui.modal #36

Closed
koeckc opened this issue Aug 3, 2015 · 9 comments
Closed

DateTime Picker in ui.modal #36

koeckc opened this issue Aug 3, 2015 · 9 comments

Comments

@koeckc
Copy link

koeckc commented Aug 3, 2015

Im having issues using the datetime picker in a modal window ...
After opening the modal on formfield click the picker opens as usual.
Once closed a click on the formfield does not open the picker again ...
Pressing key down with the keyboard cursors opens the picker.

Do you have any hint whats the issue here ?

regards

@Gillardo
Copy link
Owner

Gillardo commented Aug 3, 2015

Can you create a plunkr to show the problem?

On Mon, Aug 3, 2015 at 4:30 PM, Constantin Köck [email protected]
wrote:

Im having issues using the datetime picker in a modal window ...
After opening the modal on formfield click the picker opens as usual.
Once closed a click on the formfield does not open the picker again ...
Pressing key down with the keyboard cursors opens the picker.

Do you have any hint whats the issue here ?

regards


Reply to this email directly or view it on GitHub
#36.

@koeckc
Copy link
Author

koeckc commented Aug 3, 2015

I dont know ... my project setup is very complex and cant be easily reproduced in a plunkr.
Can you just point me to the code that handles the onclick event of the element ?

@Gillardo
Copy link
Owner

Gillardo commented Aug 4, 2015

look around line 216

On Mon, Aug 3, 2015 at 4:35 PM, Constantin Köck [email protected]
wrote:

I dont know ... my project setup is very complex and cant be easily
reproduced in a plunkr.
Can you just point me to the code that handles the onclick event of the
element ?


Reply to this email directly or view it on GitHub
#36 (comment)
.

@koeckc
Copy link
Author

koeckc commented Aug 6, 2015

Thanx for your help ... i ended up implementing a custom onclick listener inside the directive to trigger the popup (based on your keyboard events)

@koeckc koeckc closed this as completed Aug 6, 2015
@Gillardo
Copy link
Owner

Gillardo commented Aug 6, 2015

Not sure why but ok.
On 6 Aug 2015 6:11 pm, "Constantin Köck" [email protected] wrote:

Closed #36
#36.


Reply to this email directly or view it on GitHub
#36 (comment)
.

@GalawynRM
Copy link

I have the same problem,
i created a plunkr that show the issue

example

@GalawynRM GalawynRM mentioned this issue Apr 26, 2018
@Gillardo
Copy link
Owner

Isnt this what you want??

https://plnkr.co/edit/Ir8kSJks5BRAeM1sbGzU?p=preview

I think your problem is the level of scope you are using.

@Gillardo
Copy link
Owner

Sorry wrong link

https://plnkr.co/edit/Ir8kSJks5BRAeM1sbGzU

@GalawynRM
Copy link

Yes that is. Thank you. I check what’s the difference with my code

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

3 participants