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
I used CDN api for jquery-ui.min.js & jquery-ui.min.css like
jquery-ui.min.js
jquery-ui.min.css
'bundles' => [ 'yii\jui\JuiAsset' => [ 'css' => [ YII_ENV_DEV ? 'themes/smoothness/jquery-ui.css' : '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css', ], 'js' => [ YII_ENV_DEV ? 'jquery-ui.js' : '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js', ], ], ],
I have used yii\jui\DatePicker in my bootstrap modal like.
yii\jui\DatePicker
<?= $form->field($user, 'dob')->widget(DatePicker::className(), [ 'clientOptions' => [ 'changeMonth' => true, 'changeYear' => true, ], 'options' => [ 'class' => 'form-control', 'readOnly' => true, ], ]) ?>
I use renderAjax in my controller action.
renderAjax
However display error message TypeError: jQuery(...).datepicker is not a function.
TypeError: jQuery(...).datepicker is not a function
When i disabled/remove CDN of JuiAsset work perfectly.
JuiAsset
I have many try to resolved this issue but not find any solution.
Why?
The text was updated successfully, but these errors were encountered:
Issue moved to yiisoft/yii2-jui#50
Sorry, something went wrong.
No branches or pull requests
What steps will reproduce the problem?
I used CDN api for
jquery-ui.min.js
&jquery-ui.min.css
likeI have used
yii\jui\DatePicker
in my bootstrap modal like.I use
renderAjax
in my controller action.However display error message
TypeError: jQuery(...).datepicker is not a function
.When i disabled/remove CDN of
JuiAsset
work perfectly.I have many try to resolved this issue but not find any solution.
Why?
Additional info
The text was updated successfully, but these errors were encountered: