We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
datepicker is configed as follow 'clientEvents' => [ 'change' => 'function () { alert('event "change" occured.'); }' ], it doesnt work.
i find the 96 line code in the file yii2-jui\widget.php
if (isset($this->clientEventMap[$event])) { $eventName = $this->clientEventMap[$event]; } else { $eventName = strtolower($name . $event); }
will produce the js like the following:
jQuery('#w1').on('datepickerchange', function () {....}
the event datepickerchange dose not exist.
change 96 line code to $eventName = strtolower($event); will work.
is this a bug or any other use ?
The text was updated successfully, but these errors were encountered:
according to the jqueryUI docs the datepicker does not provide any events: http://api.jqueryui.com/datepicker/
Sorry, something went wrong.
No branches or pull requests
datepicker is configed as follow
'clientEvents' => [
'change' => 'function () { alert('event "change" occured.'); }'
],
it doesnt work.
i find the 96 line code in the file yii2-jui\widget.php
will produce the js like the following:
the event datepickerchange dose not exist.
change 96 line code to
$eventName = strtolower($event);
will work.
is this a bug or any other use ?
The text was updated successfully, but these errors were encountered: