dropDownList - 'empty' and 'prompt'

What are the difference between the ‘empty’ and ‘prompt’ options? To me, they seem to do/render the same thing.


I was just wondering the exact same thing. Does anyone know what the difference is?

Don’t know what stuation empty is need ? I tried the following array for htmlOption of dropdown List :

array('class' =>'form-control',

      'prompt' =>'prompt',


They are printed out in the same html option tag.

After that i tried to an array for empty

array('class' =>'form-control',

      'prompt' =>'prompt',


The empty options are printed out as normal and have value of array keys