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

Unable to use event changeDate for INLINE type #43

Closed
Vovan-VE opened this issue Jul 16, 2015 · 2 comments
Closed

Unable to use event changeDate for INLINE type #43

Vovan-VE opened this issue Jul 16, 2015 · 2 comments

Comments

@Vovan-VE
Copy link

When use INLINE type, event changeDate completely overwriten by predefined event handler:

if ($this->type == self::TYPE_INLINE) {
    $this->pluginEvents = ArrayHelper::merge($this->pluginEvents, ['changeDate' => 'function (e) { ' . $id . '.val(e.format());} ']);
}
@Vovan-VE
Copy link
Author

A workaround is to add event namespace like changeDate.something.

@kartik-v
Copy link
Owner

Resolved via latest release. Check updated demos.

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

No branches or pull requests

2 participants