Skip to content

diogobd/yii2-rangefilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery RangeFilter Extension for Yii 2

This is the jQuery RangeFilter extension for Yii 2. It encapsulates RangeFilter component in terms of Yii widgets, and thus makes using RangeFilter component in Yii applications extremely easy

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist diogobd/yii2-rangefilter "*"

or add

"diogobd/yii2-rangefilter": "*"

to the require section of your composer.json file.

How to use

echo RangeFilter::widget([
    'model' => $model,
    'attribute' => 'attachment_1',
    'options' => [
        'year' => true,
        'month' => true,
        'day' => false
    ]
]);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages