⚠ 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

Is there any way to use the set_relation dropdown without a database field?



HumbleMonk
  • profile picture
  • Member

Posted 20 May 2012 - 21:41 PM

I know we can set non-database fields in the add/edit form by just setting the fields ($crud>fields("myNonDBField")) and then handle the field by using the field callbacks, but I'm wondering if there is any way to combine this with the dropdown that we get when using set_relation?

I can make my own dropdown of course but in terms of features (searchable) and consistency with the rest of the CRUD interface it would be better if there was a way I could just duplicate the set_relation dropdown.