diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1b1203..45747d7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@ Yii Framework 2 bootstrap5 extension Change Log
2.0.3 under development
-----------------------
-- no changes in this release.
+- Enh #18: Add rangeInput(), colorInput() and switch mode to checkbox() in class ActiveField (WinterSilence)
2.0.2 October 21, 2021
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
diff --git a/src/ActiveField.php b/src/ActiveField.php
index 9dd1811..22e5036 100644
--- a/src/ActiveField.php
+++ b/src/ActiveField.php
@@ -166,6 +166,10 @@ class ActiveField extends \yii\widgets\ActiveField
* @var string the template for checkboxes in default layout
*/
public $checkTemplate = "
\n{input}\n{label}\n{error}\n{hint}\n
";
+ /**
+ * @var string the template forswitches (custom checkboxes) in default layout
+ */
+ public $switchTemplate = "
\n{input}\n{label}\n{error}\n{hint}\n
";
/**
* @var string the template for radios in default layout
* @since 2.0.5
@@ -175,6 +179,10 @@ class ActiveField extends \yii\widgets\ActiveField
* @var string the template for checkboxes and radios in horizontal layout
*/
public $checkHorizontalTemplate = "{beginWrapper}\n
\n{input}\n{label}\n{error}\n{hint}\n
\n{endWrapper}";
+ /**
+ * @var string the template for switches (custom checkboxes) in horizontal layout
+ */
+ public $switchHorizontalTemplate = "{beginWrapper}\n
\n{input}\n{label}\n{error}\n{hint}\n
\n{endWrapper}";
/**
* @var string the template for checkboxes and radios in horizontal layout
* @since 2.0.5
@@ -184,6 +192,10 @@ class ActiveField extends \yii\widgets\ActiveField
* @var string the `enclosed by label` template for checkboxes and radios in default layout
*/
public $checkEnclosedTemplate = "