Hello,
I have a slight problem with getting the options within the select tag. Some background information; This is a report, and as such the select options will vary depending on what is stored on the DB depending on some conditions. So, I'm using observe field to get the selected option, BUT, I need to get all the options because I want render that same report with a) the selected option that was chosen the first time and the remaining ones.
select "price", "desc", @desc, {:prompt => 'All'}
I'm obviously observing the field, to display the result, so the variable @desc is the hash with the all the values.
Can you help me get hash to be sent to the controller, and how can I have the selected option selected in the hash to be sent back to the view....
Cheers