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.
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": "*"
\skeeks\yii2\scheduleInputWidget\ScheduleInputWidget::widget([
'name' => 'schedule'
]);
$form = new \yii\widgets\ActiveForm();
$form->field($model, 'schedule')->widget(
\skeeks\yii2\scheduleInputWidget\ScheduleInputWidget::class
);
SkeekS CMS (Yii2) — fast, simple, effective!
skeeks.com | cms.skeeks.com