2017 © Pedro Peláez
 

yii2-extension yii2-birthday-picker

A Yii2 widget extension that allows you to easily create birthday form field

image

nsept/yii2-birthday-picker

A Yii2 widget extension that allows you to easily create birthday form field

  • Friday, April 29, 2016
  • by nsept
  • Repository
  • 1 Watchers
  • 1 Stars
  • 614 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 78 % Grown

The README.md

Yii2 Birthday Picker

example, (*1)

A Yii2 widget extension that allows you to easily create birthday form field., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require --prefer-dist nsept/yii2-birthday-picker "*"

or add, (*5)

"nsept/yii2-birthday-picker": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by:, (*7)

// model
public function rules()
{
    return [
        ['birthday', 'required'],
        ['birthday', \nsept\birthdaypicker\BirthdayValidator::className()],
    ];
}

// view
= \nsept\birthdaypicker\BirthdayPickerWidget::widget([
    'form'      => $form,
    'model'     => $model,
    'attribute' => 'birthday'
]) ?>

The Versions

29/04 2016

dev-master

9999999-dev

A Yii2 widget extension that allows you to easily create birthday form field

  Sources   Download

MIT

The Requires

 

by Avatar nsept

extension yii2 date picker widget birthday