I have a dropdown field in my form and when I hit submit the form goes through validation and if an error happens, return all the value. This work expect for my dropdown meu
With form_dropdown, you have to use set_select instead of set_value
CodeIgniter documentation
If you want to set the default value on form_dropdown, pass an array which contains defaults value as the third parameter to the form_dropdown function.