.png?part=0.1&view=1)
--
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/06f50592-2fe5-40ba-9ab8-62a4255fc3den%40googlegroups.com.
Is there any log in the js console?
To view this discussion visit https://groups.google.com/d/msgid/py4web/c44e412e-3d5c-4c27-a463-17d8c71306fcn%40googlegroups.com.




Sorry for the ambiguity. By "set," I meant a field of type "list:string" or "list:integer".
I tested the issue again today, and everything is working fine now—perhaps my browser cache was not up to date. It is such a relief!
However, while testing, I noticed a minor issue with the dashboard. Suppose there's a field of type "list:string", and a data row is inserted without a value for that field. In this case, the dashboard does not allow you to enter a value for that field. Specifically, when you click on the row ID to view the detailed entry page, the cell corresponding to that field is not editable.
Two related observations:
For other field types—e.g., "string"—the dashboard does allow data entry even if the original value is null.
If the field value is set to [] instead of null, the cell becomes editable, and everything works as expected.
You can use the following simple table definition to reproduce this behavior:
Run: db.test.insert(interests=["math", "philosophy"])
Open the dashboard. You will be able to enter a value for the name field, as expected.
Run: db.test.insert(name="John")
Open the dashboard. You will not be able to enter a value for interests for the "John" row.
Run: db.test.insert(name="Adam", interests=[])
Open the dashboard. You will be able to enter a value for interests for the "Adam" row.