From 1e7013c360787baf11bf8d17720764957f323243 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 24 Nov 2021 16:32:15 +0300 Subject: [PATCH] Update usage-widgets.md --- docs/guide/usage-widgets.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/guide/usage-widgets.md b/docs/guide/usage-widgets.md index 026554d..a199147 100644 --- a/docs/guide/usage-widgets.md +++ b/docs/guide/usage-widgets.md @@ -26,6 +26,11 @@ framework features. All widgets belong to `\yii\bootstrap5` namespace: - [[yii\bootstrap5\Toast|Toast]] - [[yii\bootstrap5\ToggleButtonGroup|ToggleButtonGroup]] +## ActiveField: additional fields + +- [Range](https://getbootstrap.com/docs/5.1/forms/range/): `$form->rangeInput(['min' => 0, 'max' => 100, 'step' => 1])` +- [Color picker](https://getbootstrap.com/docs/5.1/forms/form-control/#color): `$form->colorInput()` +- [Switch](https://getbootstrap.com/docs/5.1/forms/checks-radios/#switches): `$form->checkbox(['switch' => true])` ## Customizing widget CSS classes