How can I refresh the options on a table filter after an action?

I have a select filter on a table called "collection" that filters records if they belong to that collection.

I also have a bulk create action to create a new collection and assign the selected records to the collection.

My problem is that if I create a new collection, I can't immediately filter the table with that new collection unless I hard refresh the page because the filter options haven't been updated. What do I need to do to have the filter update itself?
Solution
OMG I solved it.

I changed my form from this:

->options([
    // options
]),

to this:
->options(fn() => [
    // options
]),
Was this page helpful?