How to preselect an initial ais-menu item

This seems like it should be easy, but when I filter results with ais-configure I don’t get the other ais-menu choices, is there a way to preselect one of the menu items so that the user can switch between them?


In order to get this to work I had to add this to filter


and then I had to update the slot so that the user could select other categories:

@click.prevent="defaultDisjunctiveFacetsRefinements = {};refine(item.value)"

and then I added a transformItems method to ais-menu so that it would select the correct menu item

    transformItems(items: any[]) {
      if (items.find(item => item.isRefined === true) === undefined) {
        items[0].isRefined = true;
      return items;