Download the PHP package skeeks/cms-dadata without Composer
On this page you can find all versions of the php package skeeks/cms-dadata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cms-dadata
Dadata suggest for SkeekS CMS
Info
Installation
The preferred way to install this extension is through composer.
Either run
or add
Configuration app
Examples
First detect address from api and save to session
First detect address from api and save to session
Address widget
Suggest widget
Suggest widgets in forms
php
$form->field($model, 'post_address')->widget( \skeeks\cms\dadataSuggest\widgets\suggest\DadataSuggestInputWidget::className(), [ 'options' => [ 'placeholder' => "Адрес (улица, дом, кв)", ],
'clientOptions' =>
[
'suggestOptions' =>
[
'triggerSelectOnSpace' => true,
'triggerSelectOnBlur' => true,
'constraints' => [
[
'locations' => \Yii::$app->dadataSuggest->address->getRegionArray(),
'deletable' => false,
'label' => ''
]
],
'restrict_value' => true,
],
'onInit' => new \yii\web\JsExpression(<<<JS
function(e, data)
{
data.DadataSuggest.bind('onSelect', function()
{
data.DadataSuggest.bind('afterSave', function()
{
$.pjax.reload({container:'#sx-cart-full'});
});
data.DadataSuggest.save();
return false;
});
}
JS )
]
]);
?>
##Links
* [Web site](http://en.cms.skeeks.com)
* [Web site (rus)](http://cms.skeeks.com)
* [Author](http://skeeks.com)
* [ChangeLog](https://github.com/skeeks-cms/cms-dadata-suggest/blob/master/CHANGELOG.md)
___
> [![skeeks!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)
<i>SkeekS CMS (Yii2) — fast, simple, effective!</i>
[skeeks.com](https://skeeks.com) | [cms.skeeks.com](https://cms.skeeks.com)
All versions of cms-dadata with dependencies
PHP Build Version
Package Version
Requires
skeeks/yii2-dadata-client Version
^1.0
The package skeeks/cms-dadata contains the following files
Loading the files please wait ....