⚠ In case you've missed it we are migrating 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 forum is read-only and soon will be archived. ⚠

set current field in dropdown edit

dropdown edit

  • Please log in to reply
1 reply to this topic

#1 wenkhairu



  • Members
  • PipPip
  • 13 posts

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 :)

#2 web-johnny


    grocery CRUD Author

  • Administrators
  • 1,166 posts

Posted 12 January 2012 - 09:55 PM

You can find the answer here: http://www.grocerycr...indpost__p__250

Also tagged with one or more of these keywords: dropdown, edit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users