⚠ 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 forum is read-only and soon will be archived. ⚠


dhouwen

Member Since 04 Feb 2020
Offline Last Active Feb 04 2020 10:00 PM
-----

Topics I've Started

Problem with the setRelation dropdown.

04 February 2020 - 12:08 PM

Hi Folks!

 

I have a problem with the setRelation dropdown.
 
I'm using the Enterprise version and i need to have the possibility to save an empty value.
$crud->setRelation('officeCode', 'offices', 'city')

Example:

 

When i'm check this example (non enterprise version) there is an option to choose for an empty value.

https://www.groceryc...ement/bootstrap

 

Whem i'm check the same enterprise example i don't have this empty option.

https://www.groceryc...abase-relation/

 

Does anyone knows how i get this empty value option in the enterprise version?

 

Thanks!