Py4web version: 1.20250908.3
In 'edit' and 'new' mode, the referenced fields are still displayed as IDs. The expected behaviour is a dropdown box with names for the referenced table fields.
'View' mode works correctly.
Regards
Hi,
Your suggestion is perfect for creating a selection/query or manually designing a form. However, my point is that the value displayed in 'Edit' and 'New' should always be the field value from the referenced table, not the ID-field.
This was the behavior before the grid was refactored, and it is also the default behavior of SQLFORM.grid in web2py.
--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/ecf5b93a-81a7-4b90-94c2-5e389354a8fbn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/97ed7abb-ac5f-4d87-b891-d406598d1509n%40googlegroups.com.