diff --git a/src/BaseHtml.php b/src/BaseHtml.php
index e307a1d..d72e242 100644
--- a/src/BaseHtml.php
+++ b/src/BaseHtml.php
@@ -73,7 +73,7 @@ abstract class BaseHtml extends \yii\helpers\Html
$value = static::getAttributeValue($model, $attribute);
}
- return static::staticControl($value, $options);
+ return static::staticControl((string)$value, $options);
}
/**