<%=f.select :action_item_status,action_item_status%>
How can i disable all the option in this select option.
<%= f.select :action_item_status, action_item_status, {}, {:disabled => true} %>
f.select :action_item_status, action_item_status, {}, disabled: true
As I cant comment to the last comment, your mistake is, that disabled has to be in the fourth not the third param.
So make sure you add a empty one!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With