skeeks-semenov / yii2-schedule-input-widget

Work schedule widget.
https://skeeks.com
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link
input schedule scheduler skeeks skeeks-cms skeekscms yii yii2 yii2-ex yii2-widget yii2-widgets

Work schedule widget for yii2

A small element for the form of the yii2 framework. Allows you to select working days and time for working on them. Ability to select multiple ranges for one day.

Latest Stable Version Total Downloads

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/yii2-schedule-input-widget "*"

or add

"skeeks/yii2-schedule-input-widget": "*"

How to use without model


\skeeks\yii2\scheduleInputWidget\ScheduleInputWidget::widget([
    'name' => 'schedule'
]);

How to use with model


$form = new \yii\widgets\ActiveForm();

$form->field($model, 'schedule')->widget(
    \skeeks\yii2\scheduleInputWidget\ScheduleInputWidget::class
);

Screenshot

Work schedule widget for yii2

Work schedule widget for yii2

Video

Work schedule widget for yii2

Links


skeeks!
SkeekS CMS (Yii2) — fast, simple, effective!
skeeks.com | cms.skeeks.com