⚠ 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

Blank set_relation dropdown possible?



carlosT
  • profile picture
  • Member

Posted 12 January 2012 - 15:04 PM

This is not a bug really more of a feature request. Is there any way to have the initial state of 1 to 1 relationship dropdown blank? At present its always populated so you cannot insert a record which doesn't have a relationship. I think it would be great if it was something like "Select One" in the initial state which has a null value.

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

Posted 12 January 2012 - 19:14 PM

[quote name='carlosT' timestamp='1326380690' post='266']
This is not a bug really more of a feature request. Is there any way to have the initial state of 1 to 1 relationship dropdown blank? At present its always populated so you cannot insert a record which doesn't have a relationship. I think it would be great if it was something like "Select One" in the initial state which has a null value.
[/quote]

Yes you are right.
I will try to have this feature to the next version actually. And of course only if it's NULLABLE it has to do this, eitherway it will be just blank.
Thank you to remind it to me and welcome to grocery CRUD forum :) .

carlosT
  • profile picture
  • Member

Posted 12 January 2012 - 20:10 PM

Thanks for the quick response. I use Grocery CRUD for every single project these days, it has literally saved me weeks. Keep up the brilliant work!!!