Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About babakitien

  • Rank
  1. Laurent, le lien stack overflow m'a l'air bien Merci pour le coup de main!
  2. Hi there, As a YII2 beginner, i have a very easy question, and i was really surprised to not find the answer by myself on the internet but i have to say that after some research i didn't find anything. Question is: How to get the current value of a dropDownList into a view? (to fill a grid depending of the value of the dropDownList) So here is my code: <?= $form->field($model, 'spe')->dropDownList( ArrayHelper::map(Specialites::find()->all(), 'id_spe', 'lib_spe'), [ 'prompt'=>'Choose a spe', ])-&g
  • Create New...