⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

set current field in dropdown edit



wenkhairu

wenkhairu
  • profile picture
  • Member

Posted 10 January 2012 - 05:50 AM

hi, i have a little problem here, is posible to make current value in dropdown when we edit some data ?
right now when i edit some data value on the dropdown menu will back to default value, eg : enum ('yes','no'), when we add new recored default value will be no, yes, then when i edited data with value 'yes' in the dropdown not show 'yes' at the first value secelted, but like before the value will same as like we add new data ?

is posible to make it happen ? using callback or something else ?

sorry for my bad english :)

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 12 January 2012 - 21:55 PM

You can find the answer here: /topic/79-grocery-crud-117-dropdown-menu-doesnt-work/page__view__findpost__p__250