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

onChange or onClick in Timepicker #380

Open
nitinsonawane234 opened this issue Sep 29, 2019 · 2 comments
Open

onChange or onClick in Timepicker #380

nitinsonawane234 opened this issue Sep 29, 2019 · 2 comments

Comments

@nitinsonawane234
Copy link

nitinsonawane234 commented Sep 29, 2019

Is there is any ways to achieve onChange or onClick events in kartik timepicker ?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@thadudexx
Copy link

thadudexx commented Oct 4, 2019

Did you try update?

pluginEvents = [
    "show" => "function(e) {  # `e` here contains the extra attributes }",
    "hide" => "function(e) {  # `e` here contains the extra attributes }",
    "update" => "function(e) {  # `e` here contains the extra attributes }",
];

@nitinsonawane234
Copy link
Author

Did you try update?

pluginEvents = [
    "show" => "function(e) {  # `e` here contains the extra attributes }",
    "hide" => "function(e) {  # `e` here contains the extra attributes }",
    "update" => "function(e) {  # `e` here contains the extra attributes }",
];

Exception (Unknown Property) 'yii\base\UnknownPropertyException' with message 'Setting unknown property: kartik\widgets\TimePicker::pluginEvents '
in D:\Xampp\htdocs\adv\vendor\yiisoft\yii2\base\Component.php:209

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

2 participants