GithubHelp home page GithubHelp logo

yii2-airdatepicker's Introduction

Latest Stable Version Total Downloads Latest Unstable Version License

Yii2 Air DatePicker

Renders a lightweight Air DatePicker plugin for Yii2.

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist mrserg161/yii2-airdatepicker "*"

or add

"mrserg161/yii2-airdatepicker": "*"

to the require section of your composer.json file.

Demo

You can refer detailed documentation and demos for AirDatePicker or russian docs AirDatePicker RU widgets on usage of the extension.

Usage

Once the extension is installed, simply use it in your code by :

<?php
use mrserg161\airdatepicker\DatePicker;
?>

<?= $form->field($model, 'date')
    ->widget(
        DatePicker::class, [
            'clientOptions' => [
                'autoClose' => true,
                'timepicker' => true,
            ]
        ]
    )?>

yii2-airdatepicker's People

Contributors

mrserg161 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

yii2-airdatepicker's Issues

Using widget as filter for GridView

Hi, I'm using your widgets.
I use the widget as a filter for GridView. After selecting the GridView date is not updated.

Привет, я пользуюсь Вашим виджетом. Я использую виджет как фильтр для GridView. После выбора даты GridView не обновляется. В чем может быть проблема?
Спасибо

image

Когда я просто кликаю по выбранной дате, то ничего не происходит. А когда выбираю дату с клавиатуры и потом нажимаю Enter, то страница перезагружается (я не использую Pjax) и в GridVew нужный мне результат.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.