input fields are disabled still onClose…? #11

Closed
hedefalk opened this Issue May 10, 2012 · 2 comments

2 participants

@hedefalk

I'm probably not in position to say this is really a bug, but I need to be able to have a callback triggered when a date is selected using mobiscroll. The callback serializes the form and posts it. I think it's a bit weird that all input fields are still disabled when onClose is called…?

I posted a question on SO: http://stackoverflow.com/questions/10537411/jquery-form-doesnt-serialize-my-date-field-when-triggered-from-mobiscroll

Sorry to open a issue if this is not a bug. I might just have missed something in the API. Please close this and point me in a direction how I can better achieve what I need!

Thanks,
Viktor

@dioslaska

What version are you using?
As of 2.0rc1 this is fixed for onSelect and onCancel events. On onClose the popup is not yet hidden, so if your function returns false, close will be prevented.
For your use case I recommend 2.0rc3 and the onSelect event.
See more details of this issue here:
https://groups.google.com/forum/?fromgroups&hl=en#!topic/mobiscroll/fQQ-jYkH-qk

@dioslaska dioslaska closed this May 11, 2012
@hedefalk

Ah, it was 1.6 so duplicate of old report. Thank, will try to upgrade!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment