title: Creating dependent dropdown in Yii2
body: <p>I need to create a dependent dropdown in Yii2</p>
  
  <p>I have two tables, <code>admin</code> and <code>employee</code>, when <code>admin</code> selects <code>employee</code> name,  <code>employee's</code> details such as <strong>email</strong>, <strong>age</strong>, <strong>dateofbirth</strong> and <strong>phone</strong> should get filled automatically.</p>
  
  <p>How do I go about doing this?</p>