So I’m coming back to using Anvil after being gone for a year or so. I’m working on picking back up on a application I am building and using Anvil to do it.
The https://anvil.works/learn/tutorials/database-backed-apps/chapter-4 was a great way to get back up to speed on things, my only question with the setup of this how would you do multiple categories the same way? When I tried it with the same setup I’m getting:
anvil.tables.TableError: Column 'categories' is a liveObjectArray - cannot set it to a Row from 'categories' table
Just curious, I’m sure I would have to somehow get the options selected out of this but looking at the object I don’t know how to do this, if anyone knows or has doc links to point me to would be appreciated.
My guess is I have to get the list of categories via something like categories = article_dict['categories']
then add it as a list like [categories] when adding the data.
Thanks