I think you’re correct that if I was merely selecting existing options, the Panel would correctly reflect that after a save.
However, I don’t want to automatically “select” tags. I merely want them to be shown as options.
When the content gets saved, the Panel receives a copy of all the saved data and should reflect that for the appropriate fields. What it doesn’t seem to do is be able to realize that the
query driving the checkboxes’
options has changed as part of the content change.
To answer @jimbobrjames question: the “tags” are for basically tying together different articles on our website, so we can suggest articles from other articles if they’re about the same topic. I’d be tempted to just do this all automatically with a hook, but there are definitely going to be times where this is wrong and I want to be able to control this manually. The checkboxes query just goes through the content and tries to guess which tags are relevant, so we’re not searching through hundreds of potential options.