skeeks / yii2-schedule-input-widget
Work schedule widget
Installs: 834
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 2
Open Issues: 1
Type:yii2-extension
Requires
- skeeks/yii2-sx: ^1.4
- yiisoft/yii2: ^2
This package is auto-updated.
Last update: 2024-10-29 05:28:37 UTC
README
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.
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
Video
Links
SkeekS CMS (Yii2) — fast, simple, effective!
skeeks.com | cms.skeeks.com