Zeigt Namen von MilliStones in activeDropDownList von Yii2, aber jetzt will ich ein anderes Feld mit ihm verketten (Like Anzahl von Millistone).Verkettung in Yii2 activeDropDownList
z. B. (Milli Stone Name - Anzahl der Steine).
<?= Html::activeDropDownList($model, 'milli_stone_id',ArrayHelper::map(MilliStones::find()->where(['cat_id' => $Rings->milli_cat])->all(), 'id', 'name'),['prompt'=>'Select Milli Stone','class'=>'form-control']) ?>
ref: http://stackoverflow.com/questions/27768540/yii2drop-down-list-for- Multiple-Werte-Concat-in-One-Linie arbeitete wie ein Charme. –