In the following table -
db.define_table('products_group_content',
Field('products_group','reference
products_group',requires=[IS_NOT_EMPTY()]),
Field('product','reference product'),
auth.signature)
when I add a record (using grid functionality or in the admin interface) -
the products_group field doesn't have a drop box with a list of groups (it
has a regular text edit field), even though this field is referencing
another table.
on the other hand, the product field does have a drop box with a list of
products to pick from.
Why the difference? Seems to me, in both cases the drop box should be in
place. I have no clue why requires parameter makes any difference at all.
What am I missing??
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/8cb5682c-8e67-4317-a87f-f51f05f586ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.